diff --git a/static/fonts/rubik-v28-latin-regular.woff2 b/assets/fonts/rubik-v28-latin-regular.woff2 similarity index 100% rename from static/fonts/rubik-v28-latin-regular.woff2 rename to assets/fonts/rubik-v28-latin-regular.woff2 diff --git a/index.js b/index.js index d4d1b6b..24225d0 100644 --- a/index.js +++ b/index.js @@ -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"))) diff --git a/pageUpdater.js b/pageUpdater.js index c21c283..0aea0c4 100644 --- a/pageUpdater.js +++ b/pageUpdater.js @@ -146,6 +146,8 @@ module.exports = { data = converter(data, req.query) } + data = minify.minify(data) + res.send(data) } else { res.status(404).send(` diff --git a/static/index.html b/static/index.html index e471132..138ff2a 100644 --- a/static/index.html +++ b/static/index.html @@ -47,7 +47,7 @@
-

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.

+

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.