Add crossorigin attribute to script to work around Safari issue

See: https://stackoverflow.com/a/56755581
This commit is contained in:
Max Goodhart
2020-08-09 22:16:31 -07:00
parent 9a35d568c2
commit 2c0f586eb5

View File

@@ -14,6 +14,7 @@
type="module"
id="main-script"
data-ws-endpoint="<%= wsEndpoint %>"
crossorigin
></script>
</body>
</html>