File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 11VITE_BACKEND_URL = http://localhost:8080
2- VITE_GH_OAUTH_CLIENT_ID =
2+ VITE_GH_OAUTH_CLIENT_ID = Ov23liSSsyTFMsm1CT09
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ export default function OAuthPage() {
1616 if ( response . status === 'success' ) {
1717 if ( "token" in response . data ) {
1818 auth . login ( response . data [ "token" ] ) ;
19- navigate ( '/admin ' ) ;
19+ navigate ( '/' ) ;
2020 }
2121 else {
2222 setMessage ( "Authentication failed." ) ;
@@ -30,7 +30,7 @@ export default function OAuthPage() {
3030
3131 useEffect ( ( ) => {
3232 if ( auth . isAuthenticated ) {
33- navigate ( '/admin ' ) ;
33+ navigate ( '/' ) ;
3434 } else {
3535 const urlParams = new URLSearchParams ( location . search ) ;
3636
@@ -50,4 +50,4 @@ export default function OAuthPage() {
5050 subtitle = { awaitingResponse ? "Authenticating with the server, please wait." : message }
5151 />
5252 )
53- }
53+ }
You can’t perform that action at this time.
0 commit comments