From b10bd8d01c4cfffc856540e80e7638a11c48c419 Mon Sep 17 00:00:00 2001 From: hyungi Date: Wed, 15 Oct 2025 13:54:46 +0900 Subject: [PATCH] =?UTF-8?q?temp:=20=ED=98=84=EC=9E=AC=20=EB=B3=80=EA=B2=BD?= =?UTF-8?q?=EC=82=AC=ED=95=AD=20=EC=9E=84=EC=8B=9C=20=EC=A0=80=EC=9E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/App.jsx | 6 +----- frontend/src/api.js | 3 +-- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/frontend/src/App.jsx b/frontend/src/App.jsx index 6745dbb..d6d98ba 100644 --- a/frontend/src/App.jsx +++ b/frontend/src/App.jsx @@ -649,11 +649,7 @@ function App() { )) ) : ( - <> - - - - + )} diff --git a/frontend/src/api.js b/frontend/src/api.js index 9f6d396..9819f4f 100644 --- a/frontend/src/api.js +++ b/frontend/src/api.js @@ -3,8 +3,7 @@ import { logApiError } from './utils/errorLogger'; // 환경변수에서 API URL을 읽음 (Vite 기준) // 프로덕션에서는 nginx 프록시를 통해 /api 경로 사용 -const API_BASE_URL = import.meta.env.VITE_API_URL || - (import.meta.env.DEV ? 'http://localhost:18000' : '/api'); +const API_BASE_URL = '/api'; console.log('API Base URL:', API_BASE_URL); console.log('Environment:', import.meta.env.MODE);