diff --git a/src/dev-server/http-server.ts b/src/dev-server/http-server.ts index ffd50da8..5fd7a69c 100644 --- a/src/dev-server/http-server.ts +++ b/src/dev-server/http-server.ts @@ -45,6 +45,9 @@ 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); }