summary refs log tree commit diff
path: root/api/client_test
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-09-16 20:49:07 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-09-16 20:49:07 +0200
commit1cd4b819171f9bbadb00b2e87d1a710ead355f95 (patch)
treee66bff65da570bd9d3c4c247ae84b4826bb302e6 /api/client_test
parentMerge branch 'master' of https://github.com/fosscord/fosscord-api (diff)
downloadserver-1cd4b819171f9bbadb00b2e87d1a710ead355f95.tar.xz
Revert ":construction: webhook"
This reverts commit f691aa4c5aa47c8a8085c7b01912a1c403ce8732.
Diffstat (limited to 'api/client_test')
-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 335b477c..ac66df06 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: `//${location.host}/api`,
+				API_ENDPOINT: "/api",
 				API_VERSION: 9,
 				GATEWAY_ENDPOINT: `${location.protocol === "https:" ? "wss://" : "ws://"}${location.hostname}:3002`,
 				WEBAPP_ENDPOINT: "",