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,
|
|
|
|
|
port: 5173,
|
2026-01-01 00:20:33 +09:00
|
|
|
allowedHosts: ["fromis9.caadiq.co.kr"],
|
2026-01-01 10:20:54 +09:00
|
|
|
proxy: {
|
|
|
|
|
"/api": {
|
|
|
|
|
target: "http://fromis9-backend:3000",
|
|
|
|
|
changeOrigin: true,
|
|
|
|
|
},
|
|
|
|
|
},
|
2025-12-31 21:51:23 +09:00
|
|
|
},
|
|
|
|
|
});
|