FIX: Use local theme files for external libs

This also makes sure we don't need any CSP rules for the loaded JS files.
This commit is contained in:
Penar Musaraj 2022-07-26 13:35:02 -04:00
parent 807b9e0b31
commit f8a914c8cc
No known key found for this signature in database
GPG Key ID: E390435D881FF0F7
2 changed files with 2 additions and 5 deletions

View File

@ -86,8 +86,8 @@ export default class SpreadsheetEditor extends GlimmerComponent {
// Helper Methods:
loadLibraries() {
return loadScript(settings.theme_uploads.jsuites).then(() => {
return loadScript(settings.theme_uploads.jspreadsheet);
return loadScript(settings.theme_uploads_local.jsuites).then(() => {
return loadScript(settings.theme_uploads_local.jspreadsheet);
});
}

View File

@ -1,3 +0,0 @@
extend_content_security_policy:
type: list
default: "script_src: http://localhost:4200/"