Ver Fonte

Fix heroku deploy

Michelle Bu há 10 anos atrás
pai
commit
0c8f4b8525
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      lib/server.js

+ 1 - 1
lib/server.js

@@ -142,7 +142,7 @@ app._initializeHTTP = function() {
 
 
   this.use(util.allowCrossDomain);
   this.use(util.allowCrossDomain);
 
 
-  this._app.get(this._options.path, function(req, res, next) {
+  this.get('/', function(req, res, next) {
     res.send(require('../app.json'));
     res.send(require('../app.json'));
   });
   });