From 50eca684345fded6f792bfe331cc66be863d8769 Mon Sep 17 00:00:00 2001 From: sD Date: Sun, 15 Mar 2020 03:49:48 +0100 Subject: add content policy and make wasabi use https --- webAO/client.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'webAO/client.js') 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/"; -- cgit