Skip to content

Commit

Permalink
Review changes
Browse files Browse the repository at this point in the history
Signed-off-by: SayedTahsin <mail.tahsin99@gmail.com>
  • Loading branch information
SayedTahsin committed Jul 9, 2024
1 parent 5f1acf8 commit 73d322f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions layouts/_default/embed_console.html
Original file line number Diff line number Diff line change
Expand Up @@ -145,12 +145,12 @@
const protocol = window.location.protocol;
const port = window.location.port;

const apiDomain = protocol + "//" + hostname + (port? ":3003" : "") + '/api';
const apiDomain = protocol + "//" + hostname + (port? ":3003" : "") + '/api/v1';
const consoleDomain = protocol + "//" + hostname + (port? ":5990" : "") + '/console';

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

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

0 comments on commit 73d322f

Please sign in to comment.