Add AuthCallback component for handling authentication status and redirection
Some checks failed
CI - Build and Push / Build and Push Docker Image (push) Failing after 14s

This commit is contained in:
2025-10-08 13:03:16 +08:00
parent eba90288b7
commit 9802fb4481
4 changed files with 269 additions and 0 deletions

View File

@@ -12,6 +12,7 @@ import Friends from './pages/Friends.tsx'
import Blog from './pages/Blog.tsx'
import Servers from './pages/Servers.tsx'
import Forum from './pages/Forum.tsx'
import AuthCallback from './pages/AuthCallback.tsx'
createRoot(document.getElementById('root')!).render(
<StrictMode>
@@ -26,6 +27,7 @@ createRoot(document.getElementById('root')!).render(
<Route path="/blog" element={<Blog />} />
<Route path="/servers" element={<Servers />} />
<Route path="/forum" element={<Forum />} />
<Route path="/auth/callback" element={<AuthCallback />} />
</Routes>
</Router>
</ServerProvider>