diff --git a/build/public/index.html b/build/public/index.html index 9d62e70..0dfa3c3 100644 --- a/build/public/index.html +++ b/build/public/index.html @@ -1,6 +1,7 @@ + 🧩 jigsaw.hyottoko.club diff --git a/src/frontend/index.html b/src/frontend/index.html index 60a9c1a..0b1c8ee 100644 --- a/src/frontend/index.html +++ b/src/frontend/index.html @@ -1,6 +1,7 @@ + 🧩 jigsaw.hyottoko.club diff --git a/vite.config.js b/vite.config.js index d272e64..7d63d4d 100644 --- a/vite.config.js +++ b/vite.config.js @@ -8,4 +8,12 @@ export default vite.defineConfig({ outDir: '../../build/public', emptyOutDir: true, }, + server: { + proxy: { + '^/(api|uploads)/.*': { + target: 'http://localhost:1337', + secure: false, + }, + }, + }, })