자산관리 시스템 도커라이징

This commit is contained in:
2026-06-17 11:31:10 +09:00
parent 723c4723f6
commit 9d19d8283e
16 changed files with 2129 additions and 16 deletions

View File

@@ -1,16 +1,18 @@
import { defineConfig } from 'vite';
const proxyTarget = process.env.VITE_DEV_PROXY_TARGET || 'http://localhost:3000';
export default defineConfig({
server: {
port: 8080,
host: true, // Listen on all local IPs
proxy: {
'/api': {
target: 'http://localhost:3000',
target: proxyTarget,
changeOrigin: true,
},
'/uploads': {
target: 'http://localhost:3000',
target: proxyTarget,
changeOrigin: true,
}
}