Browse Source

Fix heroku deploy

Michelle Bu 10 năm trước cách đây
mục cha
commit
0c8f4b8525
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      lib/server.js

+ 1 - 1
lib/server.js

@@ -142,7 +142,7 @@ app._initializeHTTP = function() {
 
   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'));
   });