diff --git a/layouts/_default/embed_console.html b/layouts/_default/embed_console.html
index 01a8ef666d..d2f1f38709 100644
--- a/layouts/_default/embed_console.html
+++ b/layouts/_default/embed_console.html
@@ -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');
@@ -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: {