diff options
| author | sD <stoned@derpymail.org> | 2020-03-15 03:49:48 +0100 |
|---|---|---|
| committer | sD <stoned@derpymail.org> | 2020-03-15 03:49:48 +0100 |
| commit | 50eca684345fded6f792bfe331cc66be863d8769 (patch) | |
| tree | 6443e7dda94bb4b7f289b4ae4d81f917c219e8c5 /webAO/client.js | |
| parent | 2228b820af936ca27bb18fb0f52c013e29a4ce27 (diff) | |
add content policy and make wasabi use https
Diffstat (limited to 'webAO/client.js')
| -rw-r--r-- | webAO/client.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webAO/client.js b/webAO/client.js index e55accd..8251ca3 100644 --- a/webAO/client.js +++ b/webAO/client.js @@ -28,7 +28,7 @@ const serverIP = queryDict.ip; let mode = queryDict.mode; // Unless there is an asset URL specified, use the wasabi one -const DEFAULT_HOST = location.hostname ? "http://s3.wasabisys.com/webao/base/" : "base/"; +const DEFAULT_HOST = location.hostname ? "https://s3.wasabisys.com/webao/base/" : "base/"; const AO_HOST = queryDict.asset || DEFAULT_HOST; const THEME = queryDict.theme || "default"; const MUSIC_HOST = AO_HOST + "sounds/music/"; |
