1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-06 02:42:37 +01:00
server/assets/client_test/developers.html

44 lines
1.6 KiB
HTML
Raw Normal View History

2022-01-26 01:58:36 +01:00
<!DOCTYPE html>
<html class="theme-dark" data-theme="dark">
2022-10-26 07:36:54 +02:00
<head>
<meta charset="utf-8" />
<meta content="width=device-width, initial-scale=1.0, maximum-scale=1, user-scalable=no" name="viewport" />
2022-01-26 01:58:36 +01:00
2022-10-26 07:36:54 +02:00
<link rel="stylesheet" href="/assets/532.03aaeef88460fae60534.css" integrity="" />
<link rel="icon" href="/assets/07dca80a102d4149e9736d4b162cff6f.ico" />
<title>Discord Test Client Developer Portal</title>
2022-10-26 07:36:54 +02:00
<meta charset="utf-8" data-react-helmet="true" />
</head>
2022-01-26 01:58:36 +01:00
2022-10-26 07:36:54 +02:00
<body>
<div id="app-mount"></div>
<script>
window.GLOBAL_ENV = {
API_VERSION: 9,
API_ENDPOINT: "/api",
WEBAPP_ENDPOINT: "",
2022-12-18 13:45:29 +01:00
CDN_HOST: `${location.host}`, // TODO: make this file auto populate from config?
2022-10-26 07:36:54 +02:00
BRAINTREE_KEY: "production_5st77rrc_49pp2rp4phym7387",
STRIPE_KEY: "pk_live_CUQtlpQUF0vufWpnpUmQvcdi",
MARKETING_ENDPOINT: "//discord.com",
2022-12-21 05:18:52 +01:00
RELEASE_CHANNEL: "canary",
2022-10-26 07:36:54 +02:00
ALGOLIA_KEY: "aca0d7082e4e63af5ba5917d5e96bed0"
};
GLOBAL_ENV.MEDIA_PROXY_ENDPOINT = location.protocol + "//" + GLOBAL_ENV.CDN_HOST;
// TODO: remote auth
// window.GLOBAL_ENV.REMOTE_AUTH_ENDPOINT = window.GLOBAL_ENV.GATEWAY_ENDPOINT.replace(/wss?:/, "");
localStorage.setItem("gatewayURL", window.GLOBAL_ENV.GATEWAY_ENDPOINT);
localStorage.setItem(
2022-10-26 07:36:54 +02:00
"DeveloperOptionsStore",
2022-12-21 05:18:52 +01:00
`{"trace":false,"canary":true,"logGatewayEvents":true,"logOverlayEvents":true,"logAnalyticsEvents":true,"sourceMapsEnabled":false,"axeEnabled":false}`
2022-10-26 07:36:54 +02:00
);
</script>
2022-12-21 05:18:52 +01:00
<script src="/assets/1cebe9b2b9ed8283ce52.js" integrity=""></script>
<script src="/assets/b48be57bceaf40c221ac.js" integrity=""></script>
<script src="/assets/b6e25718b296713dc29d.js" integrity=""></script>
2022-10-26 07:36:54 +02:00
</body>
2022-12-21 05:18:52 +01:00
</html>