From e9714190b29922378209f5575d12389f1434111e Mon Sep 17 00:00:00 2001 From: htlee Date: Wed, 18 Feb 2026 13:39:07 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EC=A1=B4=EC=9E=AC=ED=95=98=EC=A7=80=20?= =?UTF-8?q?=EC=95=8A=EB=8A=94=20URL=20=EC=A0=91=EA=B7=BC=20=EC=8B=9C=20?= =?UTF-8?q?=EB=A9=94=EC=9D=B8=EC=9C=BC=EB=A1=9C=20=EB=A6=AC=EB=8B=A4?= =?UTF-8?q?=EC=9D=B4=EB=A0=89=ED=8A=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.6 --- src/App.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/App.tsx b/src/App.tsx index 221a8af..c60c2eb 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1,4 +1,4 @@ -import { BrowserRouter, Route, Routes } from 'react-router'; +import { BrowserRouter, Navigate, Route, Routes } from 'react-router'; import { AuthProvider } from './auth/AuthProvider'; import { ProtectedRoute } from './auth/ProtectedRoute'; import { AdminRoute } from './auth/AdminRoute'; @@ -42,6 +42,9 @@ function App() { + + {/* Catch-all: 존재하지 않는 경로 → 메인으로 */} + } />