Fix: Uncaught SyntaxError: Identifier 'getCorsUrl' has already been declared (#3204)

Issue #3202 

move shared modules/default/utils.js file to index.html
This commit is contained in:
Bugsounet - Cédric
2023-09-19 07:14:11 +02:00
committed by GitHub
parent e5adbea49c
commit af0fe37f70
4 changed files with 4 additions and 2 deletions

View File

@@ -38,7 +38,7 @@ Module.register("clock", {
},
// Define required scripts.
getScripts: function () {
return ["moment.js", "moment-timezone.js", "suncalc.js", this.file("../utils.js")];
return ["moment.js", "moment-timezone.js", "suncalc.js"];
},
// Define styles.
getStyles: function () {