fix issue where the app wouldn't start in prod mode if preboot was disabled

This commit is contained in:
Art Lowel
2021-01-29 11:26:26 +01:00
parent a64cb63d99
commit 4b69b48007

View File

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