From 2c0f586eb51f0d04ae754b265f3e26a793d0f682 Mon Sep 17 00:00:00 2001 From: Max Goodhart Date: Sun, 9 Aug 2020 22:16:31 -0700 Subject: [PATCH] Add crossorigin attribute to script to work around Safari issue See: https://stackoverflow.com/a/56755581 --- src/web/control.ejs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/web/control.ejs b/src/web/control.ejs index ef2f9fd..92d7ff9 100644 --- a/src/web/control.ejs +++ b/src/web/control.ejs @@ -14,6 +14,7 @@ type="module" id="main-script" data-ws-endpoint="<%= wsEndpoint %>" + crossorigin >