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.html | 6 ++++++ webAO/client.js | 2 +- webAO/index.html | 5 +++++ 3 files changed, 12 insertions(+), 1 deletion(-) (limited to 'webAO') diff --git a/webAO/client.html b/webAO/client.html index 4637d69..ee18cbd 100644 --- a/webAO/client.html +++ b/webAO/client.html @@ -5,6 +5,12 @@ Attorney Online session + + + + + + 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/"; diff --git a/webAO/index.html b/webAO/index.html index fca9173..e4e4c9e 100644 --- a/webAO/index.html +++ b/webAO/index.html @@ -6,6 +6,11 @@ + + + + + -- cgit