2025-12-31 21:51:23 +09:00
|
|
|
import { defineConfig } from "vite";
|
|
|
|
|
import react from "@vitejs/plugin-react";
|
|
|
|
|
|
|
|
|
|
export default defineConfig({
|
|
|
|
|
plugins: [react()],
|
|
|
|
|
server: {
|
|
|
|
|
host: true,
|
2026-01-18 18:53:57 +09:00
|
|
|
port: 80,
|
2026-01-05 11:20:44 +09:00
|
|
|
allowedHosts: true,
|
2026-01-01 10:20:54 +09:00
|
|
|
proxy: {
|
|
|
|
|
"/api": {
|
2026-01-19 09:54:07 +09:00
|
|
|
target: "http://fromis9-backend:80",
|
2026-01-01 10:20:54 +09:00
|
|
|
changeOrigin: true,
|
|
|
|
|
},
|
2026-01-18 18:53:57 +09:00
|
|
|
"/docs": {
|
2026-01-19 09:54:07 +09:00
|
|
|
target: "http://fromis9-backend:80",
|
2026-01-18 18:53:57 +09:00
|
|
|
changeOrigin: true,
|
|
|
|
|
},
|
2026-01-01 10:20:54 +09:00
|
|
|
},
|
2025-12-31 21:51:23 +09:00
|
|
|
},
|
|
|
|
|
});
|