Skip to content

Commit ff02b43

Browse files
committed
more fixes
1 parent eaa3e46 commit ff02b43

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

frontend/static/js/new-main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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');

frontend/templates/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,15 +76,15 @@
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
});

frontend/templates/login.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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) {

0 commit comments

Comments
 (0)