mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-27 19:53:36 +00:00
fix basic-auth.js
This commit is contained in:
parent
879d585f2e
commit
c3c5307624
@ -12,7 +12,7 @@ app.use(basicAuth);
|
||||
|
||||
// Set available directories
|
||||
const directories = ["/tests/configs"];
|
||||
const rootPath = path.resolve(__dirname + "/../../");
|
||||
const rootPath = path.resolve(__dirname + "/../../../");
|
||||
|
||||
for (let directory of directories) {
|
||||
app.use(directory, express.static(path.resolve(rootPath + directory)));
|
||||
|
Loading…
x
Reference in New Issue
Block a user