Quellcode durchsuchen

Remove the dump.rdb file from the magic-window

Matt Coles vor 9 Jahren
Ursprung
Commit
6e1a62959c
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      index.js

+ 1 - 1
index.js

@@ -33,7 +33,7 @@ app.use(function(req, res, next) {
33 33
 app.use(bodyParser.json()); // for parsing application/json
34 34
 app.use(bodyParser.urlencoded({ extended: true })); // for parsing application/x-www-form-urlencoded
35 35
 app.use('/', route_manager);
36
-app.use('/source', require('magic-window')('/source', { ignore: ['config', 'redis', 'cert.pem', 'key.pem'] }))
36
+app.use('/source', require('magic-window')('/source', { ignore: ['config', 'redis', 'cert.pem', 'key.pem', 'dump.rdb'] }))
37 37
 
38 38
 app.listen(3000, function () {
39 39
   console.log('Now accepting connections on port 3000.');