mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-08-22 05:07:05 +00:00
First round of undef fixes
This commit is contained in:
@@ -19,7 +19,8 @@ app.use(auth.connect(basic));
|
||||
// Set available directories
|
||||
var directories = ["/tests/configs"];
|
||||
var directory;
|
||||
rootPath = path.resolve(__dirname + "/../../");
|
||||
var rootPath = path.resolve(__dirname + "/../../");
|
||||
|
||||
for (var i in directories) {
|
||||
directory = directories[i];
|
||||
app.use(directory, express.static(path.resolve(rootPath + directory)));
|
||||
|
Reference in New Issue
Block a user