diff --git a/adminfront/vite.config.ts b/adminfront/vite.config.ts index 30365be1..9a77e861 100644 --- a/adminfront/vite.config.ts +++ b/adminfront/vite.config.ts @@ -7,6 +7,7 @@ export default defineConfig({ envPrefix: ["VITE_", "USERFRONT_"], server: { host: "0.0.0.0", + allowedHosts: ["sadmin.hmac.kr", "localhost"], proxy: { "/api": { target: process.env.API_PROXY_TARGET || "http://localhost:3000", diff --git a/devfront/vite.config.ts b/devfront/vite.config.ts index 4b6f15a4..40d489d8 100644 --- a/devfront/vite.config.ts +++ b/devfront/vite.config.ts @@ -6,6 +6,7 @@ export default defineConfig({ plugins: [react()], server: { host: "0.0.0.0", // Ensure binding to all interfaces + allowedHosts: ["sdev.hmac.kr", "localhost"], proxy: { "/api": { target: process.env.API_PROXY_TARGET || "http://localhost:3000",