summary refs log tree commit diff
path: root/ReferenceClientProxyImplementation/Resources/Pages/developers.html
blob: 979855494140e9106dce5c394e7461fd0e826ebb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<!DOCTYPE html>
<html class="theme-dark" data-theme="dark">
    <head>
        <meta charset="utf-8"/>
        <meta content="width=device-width, initial-scale=1.0, maximum-scale=1, user-scalable=no" name="viewport"/>

        <link href="/assets/532.03aaeef88460fae60534.css" integrity="" rel="stylesheet"/>
        <link href="/assets/07dca80a102d4149e9736d4b162cff6f.ico" rel="icon"/>
        <title>Discord Test Client Developer Portal</title>
        <meta charset="utf-8" data-react-helmet="true"/>
    </head>

    <body>
        <div id="app-mount"></div>
        <script>
            window.GLOBAL_ENV = {
                API_VERSION: 9,
                API_ENDPOINT: "/api",
                WEBAPP_ENDPOINT: "",
                CDN_HOST: `${location.hostname}:3003`,

                BRAINTREE_KEY: "production_5st77rrc_49pp2rp4phym7387",
                STRIPE_KEY: "pk_live_CUQtlpQUF0vufWpnpUmQvcdi",
                MARKETING_ENDPOINT: "//discord.com",
                RELEASE_CHANNEL: "stable",
                ALGOLIA_KEY: "aca0d7082e4e63af5ba5917d5e96bed0"
            };
            GLOBAL_ENV.MEDIA_PROXY_ENDPOINT = location.protocol + "//" + GLOBAL_ENV.CDN_HOST;
            const localStorage = window.localStorage;
            // 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(
                "DeveloperOptionsStore",
                JSON.stringify({
                    trace: false,
                    canary: true,
                    logGatewayEvents: true,
                    logOverlayEvents: true,
                    logAnalyticsEvents: true,
                    sourceMapsEnabled: false,
                    axeEnabled: true,
                    bugReporterEnabled: true,
                    idleStatusIndicatorEnabled: false
                })
            );
        </script>
        <script integrity="" src="/assets/41fde19fdf180f3d4315.js"></script>
        <script integrity="" src="/assets/7b04a3ab10e05dd9054e.js"></script>
        <script integrity="" src="/assets/d1f811da193e5648048b.js"></script>
    </body>
</html>