Procházet zdrojové kódy

Celebrate 100th commit and remove SSL stuff from magic-window

Matt Coles před 9 roky
rodič
revize
23980f0bd7
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      index.js

+ 1 - 1
index.js

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