dev 설정 오류 수정

This commit is contained in:
2026-02-26 00:17:18 +09:00
parent 628a47b2ec
commit ba30de718f
2 changed files with 13 additions and 0 deletions

1
.env.production Normal file
View File

@@ -0,0 +1 @@
VITE_API_BASE=https://gahusb.synology.me

View File

@@ -4,4 +4,16 @@ import react from '@vitejs/plugin-react'
// https://vite.dev/config/ // https://vite.dev/config/
export default defineConfig({ export default defineConfig({
plugins: [react()], plugins: [react()],
server: {
host: '127.0.0.1',
port: 3007,
strictPort: false,
proxy: {
'/api': {
target: 'https://gahusb.synology.me',
changeOrigin: true,
secure: true,
},
},
},
}) })