From bf44806119095e155a48740bbfa38786b496bebf Mon Sep 17 00:00:00 2001 From: KenwoodFox Date: Thu, 13 Nov 2025 22:51:32 -0500 Subject: [PATCH] It all works! --- index.html | 37 ++++++++++++++++++++----------------- nginx.conf | 7 +++++++ vite.config.js | 9 ++++++++- vixiclones.html | 19 +++++++++++++++++++ 4 files changed, 54 insertions(+), 18 deletions(-) create mode 100644 vixiclones.html diff --git a/index.html b/index.html index 837c3d8..8764571 100644 --- a/index.html +++ b/index.html @@ -1,19 +1,22 @@ - - - - - cumtanks.snowsune.net - - - - - - - - -
- - - + + + + + + cumtanks.snowsune.net + + + + + + + + + +
+ + + + \ No newline at end of file diff --git a/nginx.conf b/nginx.conf index 1174421..9788165 100644 --- a/nginx.conf +++ b/nginx.conf @@ -22,6 +22,13 @@ http { try_files $uri =404; } + # Serve vixiclones.html for /vixiclones route + location = /vixiclones { + expires 1h; + add_header Cache-Control "public, no-transform"; + try_files /vixiclones.html =404; + } + # Normal caching for other static files location / { expires 1h; diff --git a/vite.config.js b/vite.config.js index 57ba5dc..22c83e0 100644 --- a/vite.config.js +++ b/vite.config.js @@ -6,11 +6,18 @@ export default defineConfig(({ command }) => { server: { host: true }, + build: { + rollupOptions: { + input: { + main: "./index.html", + vixiclones: "./vixiclones.html" + } + } + }, plugins: [ { name: "generate-clones-preview", async closeBundle() { - // Only generate previews during build, not in dev/serve mode if (command === "build") { await generateClonesPreview(); } diff --git a/vixiclones.html b/vixiclones.html new file mode 100644 index 0000000..68c959c --- /dev/null +++ b/vixiclones.html @@ -0,0 +1,19 @@ + + + + + + + Vixi Clones + + + + + + + + +
+ + +