Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Q4erty committed Dec 23, 2024
1 parent 98ed40f commit c938532
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/javascript/fetch/getResultsFetch.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export async function getResults() {

if (!token) {
console.error('No token');
window.location.href = '/typing-speed/frontend/javascript/registrationChecker.html';
window.location.href = '/typing-speed/frontend/html/registrationChecker.html';
return;
}

Expand All @@ -21,7 +21,7 @@ export async function getResults() {
});

if (response.status === 401) {
window.location.href = '/typing-speed/frontend/javascript/registrationChecker.html';
window.location.href = '/typing-speed/frontend/html/registrationChecker.html';
return;
};

Expand Down

0 comments on commit c938532

Please sign in to comment.