initial commit
This commit is contained in:
commit
4b60ece582
327 changed files with 28286 additions and 0 deletions
9
magnus/middleware/pageInMagnus.js
Normal file
9
magnus/middleware/pageInMagnus.js
Normal file
|
@ -0,0 +1,9 @@
|
|||
"use strict";
|
||||
module.exports = function(req, res, next) {
|
||||
if (global.magnus.hasPage(req.path)) {
|
||||
res.reply("Building " + req.path + "...");
|
||||
} else {
|
||||
next();
|
||||
}
|
||||
};
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue