浏览代码

Fix heroku deploy

Michelle Bu 10 年之前
父节点
当前提交
0c8f4b8525
共有 1 个文件被更改,包括 1 次插入1 次删除
  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'));
   });