Michelle Bu 10 жил өмнө
parent
commit
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'));
   });