Merge pull request #6776 from backstage/rugvip/wdsfix

cli: fix frontend serving without a public folder
This commit is contained in:
Patrik Oldsberg
2021-08-10 17:54:17 +02:00
committed by GitHub
+1 -1
View File
@@ -52,7 +52,7 @@ export async function serveBundle(options: ServeOptions) {
},
static: {
publicPath: config.output?.publicPath as string,
directory: paths.targetPublic,
directory: paths.targetPublic ?? '/',
},
historyApiFallback: {
// Paths with dots should still use the history fallback.