Skip to content

Commit

Permalink
Commit
Browse files Browse the repository at this point in the history
  • Loading branch information
LoydOsborne committed Mar 16, 2024
1 parent 9c73c44 commit df2f291
Show file tree
Hide file tree
Showing 17 changed files with 9 additions and 9 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion resources/heart-collectors/index-script.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const currentURL = window.location.href;

function redirectToDiscord() {
const baseURL = window.location.origin; // Extract base URL
const AuthUrl = `${baseURL}/resources/oauth/discord/?callbackUrl=${encodeURIComponent(currentURL)}`;
const AuthUrl = `${baseURL}/oauth/discord/?callbackUrl=${encodeURIComponent(currentURL)}`;
window.location.href = AuthUrl;
}

Expand Down
2 changes: 1 addition & 1 deletion resources/jbw-archive/index-script.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const currentURL = window.location.href;

function redirectToDiscord() {
const baseURL = window.location.origin; // Extract base URL
const AuthUrl = `${baseURL}/resources/oauth/discord/?callbackUrl=${encodeURIComponent(currentURL)}`;
const AuthUrl = `${baseURL}/oauth/discord/?callbackUrl=${encodeURIComponent(currentURL)}`;
window.location.href = AuthUrl;
}

Expand Down
2 changes: 1 addition & 1 deletion resources/jbw-beta/index-script.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const currentURL = window.location.href;

function redirectToDiscord() {
const baseURL = window.location.origin; // Extract base URL
const AuthUrl = `${baseURL}/resources/oauth/discord/?callbackUrl=${encodeURIComponent(currentURL)}`;
const AuthUrl = `${baseURL}/oauth/discord/?callbackUrl=${encodeURIComponent(currentURL)}`;
window.location.href = AuthUrl;
}

Expand Down
2 changes: 1 addition & 1 deletion resources/jujus-better-wynncraft/index-script.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const currentURL = window.location.href;

function redirectToDiscord() {
const baseURL = window.location.origin; // Extract base URL
const AuthUrl = `${baseURL}/resources/oauth/discord/?callbackUrl=${encodeURIComponent(currentURL)}`;
const AuthUrl = `${baseURL}/oauth/discord/?callbackUrl=${encodeURIComponent(currentURL)}`;
window.location.href = AuthUrl;
}

Expand Down
2 changes: 1 addition & 1 deletion resources/levlr/index-script.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const currentURL = window.location.href;

function redirectToDiscord() {
const baseURL = window.location.origin; // Extract base URL
const AuthUrl = `${baseURL}/resources/oauth/discord/?callbackUrl=${encodeURIComponent(currentURL)}`;
const AuthUrl = `${baseURL}/oauth/discord/?callbackUrl=${encodeURIComponent(currentURL)}`;
window.location.href = AuthUrl;
}

Expand Down
2 changes: 1 addition & 1 deletion resources/scytedtv-assets/index-script.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const currentURL = window.location.href;

function redirectToDiscord() {
const baseURL = window.location.origin; // Extract base URL
const AuthUrl = `${baseURL}/resources/oauth/discord/?callbackUrl=${encodeURIComponent(currentURL)}`;
const AuthUrl = `${baseURL}/oauth/discord/?callbackUrl=${encodeURIComponent(currentURL)}`;
window.location.href = AuthUrl;
}

Expand Down
2 changes: 1 addition & 1 deletion resources/wave/index-script.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const currentURL = window.location.href;

function redirectToDiscord() {
const baseURL = window.location.origin; // Extract base URL
const AuthUrl = `${baseURL}/resources/oauth/discord/?callbackUrl=${encodeURIComponent(currentURL)}`;
const AuthUrl = `${baseURL}/oauth/discord/?callbackUrl=${encodeURIComponent(currentURL)}`;
window.location.href = AuthUrl;
}

Expand Down
2 changes: 1 addition & 1 deletion resources/wave/privacy-policy/index-script.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const currentURL = window.location.href;

function redirectToDiscord() {
const baseURL = window.location.origin; // Extract base URL
const AuthUrl = `${baseURL}/resources/oauth/discord/?callbackUrl=${encodeURIComponent(currentURL)}`;
const AuthUrl = `${baseURL}/oauth/discord/?callbackUrl=${encodeURIComponent(currentURL)}`;
window.location.href = AuthUrl;
}

Expand Down
2 changes: 1 addition & 1 deletion resources/wave/terms-of-service/index-script.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const currentURL = window.location.href;

function redirectToDiscord() {
const baseURL = window.location.origin; // Extract base URL
const AuthUrl = `${baseURL}/resources/oauth/discord/?callbackUrl=${encodeURIComponent(currentURL)}`;
const AuthUrl = `${baseURL}/oauth/discord/?callbackUrl=${encodeURIComponent(currentURL)}`;
window.location.href = AuthUrl;
}

Expand Down

0 comments on commit df2f291

Please sign in to comment.