From 02130284e668441643558c6eccc7ba9341a13ea5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B9=80=EC=A2=85=ED=98=B8?= Date: Fri, 19 Sep 2025 17:56:13 +0900 Subject: [PATCH] =?UTF-8?q?=EA=B4=80=EB=A6=AC=EC=9E=90=EB=B6=80=EB=B6=84?= =?UTF-8?q?=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 1 + .env.production | 1 + src/App.tsx | 15 ++++++++++++--- 3 files changed, 14 insertions(+), 3 deletions(-) create mode 100644 .env.development create mode 100644 .env.production diff --git a/.env.development b/.env.development new file mode 100644 index 0000000..8d3a823 --- /dev/null +++ b/.env.development @@ -0,0 +1 @@ +VITE_ADMIN_BASE_PATH=/ \ No newline at end of file diff --git a/.env.production b/.env.production new file mode 100644 index 0000000..32429a8 --- /dev/null +++ b/.env.production @@ -0,0 +1 @@ +VITE_ADMIN_BASE_PATH=/siteManage \ No newline at end of file diff --git a/src/App.tsx b/src/App.tsx index 9dd4675..a355697 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -41,6 +41,7 @@ function App() { + {/* 일반 사용자 영역 */} } /> } /> } /> @@ -58,12 +59,20 @@ function App() { } /> } /> } /> - } /> - }> + + {/* 관리자 영역을 /siteManage 하위로 고정 */} + } /> + } + > } /> } /> - } /> + } /> + + {/* 404 처리(선택) */} + } />