diff --git a/server.ts b/server.ts index f857050ed5..ada6c9f040 100644 --- a/server.ts +++ b/server.ts @@ -171,7 +171,7 @@ function ngApp(req, res) { } else { // If preboot is disabled, just serve the client console.log('Universal off, serving for direct CSR'); - res.sendFile(indexHtml); + res.sendFile(DIST_FOLDER + '/index.html'); } }