From ba30de718f0f8ec132b2f0bfae1de2980924afc6 Mon Sep 17 00:00:00 2001 From: gahusb Date: Thu, 26 Feb 2026 00:17:18 +0900 Subject: [PATCH] =?UTF-8?q?dev=20=EC=84=A4=EC=A0=95=20=EC=98=A4=EB=A5=98?= =?UTF-8?q?=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.production | 1 + vite.config.js | 12 ++++++++++++ 2 files changed, 13 insertions(+) create mode 100644 .env.production diff --git a/.env.production b/.env.production new file mode 100644 index 0000000..927bdd8 --- /dev/null +++ b/.env.production @@ -0,0 +1 @@ +VITE_API_BASE=https://gahusb.synology.me diff --git a/vite.config.js b/vite.config.js index 8b0f57b..3ecd99d 100644 --- a/vite.config.js +++ b/vite.config.js @@ -4,4 +4,16 @@ import react from '@vitejs/plugin-react' // https://vite.dev/config/ export default defineConfig({ plugins: [react()], + server: { + host: '127.0.0.1', + port: 3007, + strictPort: false, + proxy: { + '/api': { + target: 'https://gahusb.synology.me', + changeOrigin: true, + secure: true, + }, + }, + }, })