summary refs log tree commit diff
path: root/api/client_test/index.html
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-09-14 22:15:55 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-09-14 22:15:55 +0200
commitdf2b83ac158be1e7233d8edce59033c15c193599 (patch)
treef818af80b70d0cd54bea2694d483b816a6979702 /api/client_test/index.html
parentfix #129 (diff)
downloadserver-df2b83ac158be1e7233d8edce59033c15c193599.tar.xz
:construction: webhook
Diffstat (limited to 'api/client_test/index.html')
-rw-r--r--api/client_test/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/client_test/index.html b/api/client_test/index.html
index ac66df06..335b477c 100644
--- a/api/client_test/index.html
+++ b/api/client_test/index.html
@@ -11,7 +11,7 @@
 			window.__OVERLAY__ = /overlay/.test(location.pathname);
 			window.__BILLING_STANDALONE__ = /^\/billing/.test(location.pathname);
 			window.GLOBAL_ENV = {
-				API_ENDPOINT: "/api",
+				API_ENDPOINT: `//${location.host}/api`,
 				API_VERSION: 9,
 				GATEWAY_ENDPOINT: `${location.protocol === "https:" ? "wss://" : "ws://"}${location.hostname}:3002`,
 				WEBAPP_ENDPOINT: "",