소스 검색

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'));
   });