From 065912e05b9dd0419c12784c7862739ceadc8d78 Mon Sep 17 00:00:00 2001 From: Dan Bucholtz Date: Mon, 10 Jul 2017 11:46:49 -0500 Subject: [PATCH] fix(http-server): revert change for path-based routing since it broke proxies --- src/dev-server/http-server.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/dev-server/http-server.ts b/src/dev-server/http-server.ts index b1f6829f..59a95dd5 100644 --- a/src/dev-server/http-server.ts +++ b/src/dev-server/http-server.ts @@ -46,9 +46,6 @@ export function createHttpServer(config: ServeConfig): express.Application { app.get('/cordova_plugins.js', servePlatformResource); app.get('/plugins/*', servePlatformResource); - // Fallback route - send to index.html to allow deeplinker to handle path. - app.use(serveIndex); - if (config.useProxy) { setupProxies(app); }