How long has minification been broken?

This commit is contained in:
bingus_violet 2024-04-20 06:50:20 -05:00
parent df49e37654
commit c39b2736c2
5 changed files with 10 additions and 5 deletions

View file

@ -16,10 +16,9 @@ app.listen(PORT, () => {
})
var cachePath = path.join(__dirname, 'cached')
var fontPath = path.join(staticpath, "fonts")
var assetPath = path.join(__dirname, "assets")
app.use("/fonts", express.static(fontPath))
app.use("/fonts", express.static(path.join(assetPath, "fonts")))
app.use("/cached", express.static(cachePath))
app.use("/imgs", express.static(path.join(assetPath, "Images")))
app.use("/snds", express.static(path.join(assetPath, "Sounds")))

View file

@ -146,6 +146,8 @@ module.exports = {
data = converter(data, req.query)
}
data = minify.minify(data)
res.send(data)
} else {
res.status(404).send(`

View file

@ -47,7 +47,7 @@
</div>
<hr>
<div>
<p style="padding: 10px;">Hi! I'm Violet, a 15 year old web and game developer. I aspire to make server-sided dynamic websites, with no Javascript required! I'm currently making games in the Godot Engine, and my dynamic sites in NodeJS.</p>
<p style="padding: 10px;">Hi! I'm Violet, a 15 year old web and game developer. I make server-sided dynamic websites, with no Javascript required! I'm currently making games in the Godot Engine, and my dynamic sites in NodeJS.</p>
<div class="linkContainer">
<a class="chip" href="./socials/">Socials</a>
<a class="chip" href="https://blog.violets-purgatory.dev">Blog</a>
@ -77,8 +77,8 @@
{PATH_SOCIALS}
<p class="note">Please note I am extremely unhinged and gay on Fedi, I don't use Github, and I barely understand Docker.</p>
<br>
<h1>FAQ:</h1>
{PATH_FAQ}
<!-- <h1>FAQ:</h1>
{PATH_FAQ} -->
<p>{WEATHER_TEXT}</p>
<br>
</main>

View file

@ -61,6 +61,10 @@ html {
background-attachment: local;
}
html {
background-color: black;
}
body {
padding: 2.5%;
}