mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
updated last express method
This commit is contained in:
@@ -1179,9 +1179,7 @@ function runWebAppServer() {
|
||||
*/
|
||||
// Packages and apps can add handlers to this via WebApp.expressHandlers.
|
||||
// They are inserted before our default handler.
|
||||
var packageAndAppHandlers = express();
|
||||
packageAndAppHandlers.set('x-powered-by', false);
|
||||
packageAndAppHandlers.set('etag', false);
|
||||
var packageAndAppHandlers = createExpressApp()
|
||||
app.use(packageAndAppHandlers);
|
||||
|
||||
var suppressConnectErrors = false;
|
||||
|
||||
Reference in New Issue
Block a user