Skip to content

Commit 0f97c18

Browse files
committed
Correct paths
1 parent c7a30b3 commit 0f97c18

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

public/callback/main.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ window.onload = async function () {
2424

2525
const token = localStorage.getItem("gitlab-api-token");
2626
if (token) {
27-
window.location = "/dashboard/";
27+
window.location = "../dashboard/";
2828
return;
2929
} else {
3030
alert("Please set up the GitLab connection, then go to the dashboard!");
31-
window.location = "/gitlab-setup/";
31+
window.location = "../gitlab-setup/";
3232
return;
3333
}
3434
}

public/gitlab-setup/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ window.onload = async function () {
1515
const token = tokenInput.value.trim();
1616
if (token) {
1717
if (token === savedToken) {
18-
window.location = "/";
18+
window.location = "../";
1919
return;
2020
}
2121

0 commit comments

Comments
 (0)