Skip to content

Commit

Permalink
Fix user api url issue
Browse files Browse the repository at this point in the history
Signed-off-by: SayedTahsin <[email protected]>
  • Loading branch information
SayedTahsin committed Jul 9, 2024
1 parent d25f508 commit 5f1acf8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions layouts/_default/embed_console.html
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,6 @@
else
acSignInButton.setAttribute('href', 'https://appscode.com/accounts/user/login');


const urlParams = new URLSearchParams(window.location.search);
const color = urlParams.get('color');
const text = urlParams.get('text');
Expand Down Expand Up @@ -151,7 +150,7 @@

acSignInButton.classList.add('is-loading');

const response = await fetch(apiDomain + "/api/v1/user", {
const response = await fetch(apiDomain + "/v1/user", {
method: "GET",
credentials: "include",
headers: {
Expand Down

0 comments on commit 5f1acf8

Please sign in to comment.