mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-07-04 22:58:03 +00:00
Merge pull request #2421 from klaernie/no-empty-subdirs
prevent empty path components for module main scripts
This commit is contained in:
commit
74410344af
@ -31,6 +31,7 @@ _This release is scheduled to be released on 2021-04-01._
|
||||
- Added default log levels to stop calendar log spamming.
|
||||
- Fix socket.io cors errors, see [breaking change since socket.io v3](https://socket.io/docs/v3/handling-cors/)
|
||||
- Fix Issue with weather forecast icons due to fixed day start and end time (#2221)
|
||||
- Fix empty directory for each module's main javascript file in the inspector
|
||||
- Fix Issue with weather forecast icons unit tests with different timezones (#2221)
|
||||
|
||||
## [2.14.0] - 2021-01-01
|
||||
|
@ -114,7 +114,7 @@ var Loader = (function () {
|
||||
* @param {Function} callback Function called when done.
|
||||
*/
|
||||
var loadModule = function (module, callback) {
|
||||
var url = module.path + "/" + module.file;
|
||||
var url = module.path + module.file;
|
||||
|
||||
var afterLoad = function () {
|
||||
var moduleObject = Module.create(module.name);
|
||||
|
Loading…
x
Reference in New Issue
Block a user