Skip to content

Commit 5cdb214

Browse files
committed
cx
1 parent 1e4a146 commit 5cdb214

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

generate-firebase-json.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ const generateFirebaseJson = (
4040
) => {
4141
const sourceGlob = htmlPluginData.outputName
4242
.replace(/404\.html/, '**/*')
43-
.replace(/index\.html/, '\/(index.html)?')
43+
.replace(/index\.html/, '\/?(index.html)?')
4444
.replace(/\.html/, '(\\.html)?')
4545
cspHeadersForSourceGlob = cspHeadersForSourceGlob.concat(
4646
[

0 commit comments

Comments
 (0)