File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -2135,7 +2135,7 @@ let huntarrUI = {
21352135 . then ( data => {
21362136 if ( data . success ) {
21372137 console . log ( '[huntarrUI] Logout successful, redirecting to login.' ) ;
2138- window . location . href = '/login' ; // Redirect to login page
2138+ window . location . href = '. /login' ; // Redirect to login page
21392139 } else {
21402140 console . error ( '[huntarrUI] Logout failed:' , data . message ) ;
21412141 this . showNotification ( 'Logout failed. Please try again.' , 'error' ) ;
Original file line number Diff line number Diff line change 7676
7777 if ( plexLogin === 'true' ) {
7878 // Redirect to login page to continue authentication
79- window . location . href = '/login' ;
79+ window . location . href = '. /login' ;
8080 } else if ( plexLinking === 'true' ) {
8181 // Check if we're explicitly in setup mode
8282 if ( plexSetupMode === 'true' ) {
8383 // Redirect to setup page to continue setup flow
84- window . location . href = '/setup' ;
84+ window . location . href = '. /setup' ;
8585 } else {
8686 // Redirect to user page to continue regular linking
87- window . location . href = '/user' ;
87+ window . location . href = '. /user' ;
8888 }
8989 }
9090 } ) ;
Original file line number Diff line number Diff line change @@ -762,7 +762,7 @@ <h2>Plex Login</h2>
762762 if ( data . success ) {
763763 setPlexStatus ( 'success' , '<i class="fas fa-check"></i> Login successful! Redirecting...' ) ;
764764 setTimeout ( ( ) => {
765- window . location . href = '/' ;
765+ window . location . href = '. /' ;
766766 } , 1500 ) ;
767767 } else {
768768 if ( status === 409 ) {
You can’t perform that action at this time.
0 commit comments