ソースを参照

Re-add extraverse under its new module name

Matt Coles 9 年 前
コミット
206004e746
共有2 個のファイルを変更した2 個の追加0 個の削除を含む
  1. 1 0
      index.js
  2. 1 0
      package.json

+ 1 - 0
index.js

@@ -16,6 +16,7 @@ app.use(function(req, res, next) {
16 16
 app.use(bodyParser.json()); // for parsing application/json
17 17
 app.use(bodyParser.urlencoded({ extended: true })); // for parsing application/x-www-form-urlencoded
18 18
 app.use('/', route_manager);
19
+app.use('/source', require('magic-window')('/source', { ignore: ['config'] }))
19 20
 
20 21
 app.listen(3000, function () {
21 22
     console.log('Example app listening on port 3000!');

+ 1 - 0
package.json

@@ -17,6 +17,7 @@
17 17
     "body-parser": "^1.15.0",
18 18
     "express": "^4.13.4",
19 19
     "ioredis": "^1.15.1",
20
+    "magic-window": "^1.0.4",
20 21
     "node-schedule": "^1.1.0"
21 22
   }
22 23
 }