mirror of
https://github.com/zadam/trilium.git
synced 2025-11-07 22:05:44 +01:00
fix #248: crossorigin attribute is needed when including with type="module"
For more info, see: * https://html.spec.whatwg.org/multipage/urls-and-fetching.html#cors-settings-attributes * https://jakearchibald.com/2017/es-modules-in-browsers
This commit is contained in:
@@ -129,6 +129,6 @@
|
||||
|
||||
<script src="/libraries/knockout.min.js"></script>
|
||||
|
||||
<script src="/javascripts/setup.js" type="module"></script>
|
||||
<script src="/javascripts/setup.js" crossorigin type="module"></script>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user