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 처리(선택) */} + } />