mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-27 19:53:36 +00:00
Add tests configs directory as express route.
This commit is contained in:
parent
7f1e7c981d
commit
0d8d8f0426
@ -37,6 +37,7 @@ var Server = function(config, callback) {
|
||||
app.use("/modules", express.static(path.resolve(global.root_path + "/modules")));
|
||||
app.use("/vendor", express.static(path.resolve(global.root_path + "/vendor")));
|
||||
app.use("/translations", express.static(path.resolve(global.root_path + "/translations")));
|
||||
app.use("/tests/confs", express.static(path.resolve(global.root_path + "/tests/confs")));
|
||||
|
||||
app.get("/version", function(req,res) {
|
||||
res.send(global.version);
|
||||
|
Loading…
x
Reference in New Issue
Block a user