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:
parent
807b9e0b31
commit
f8a914c8cc
|
@ -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);
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
extend_content_security_policy:
|
||||
type: list
|
||||
default: "script_src: http://localhost:4200/"
|
Loading…
Reference in New Issue