We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e4a146 commit 5cdb214Copy full SHA for 5cdb214
generate-firebase-json.js
@@ -40,7 +40,7 @@ const generateFirebaseJson = (
40
) => {
41
const sourceGlob = htmlPluginData.outputName
42
.replace(/404\.html/, '**/*')
43
- .replace(/index\.html/, '\/(index.html)?')
+ .replace(/index\.html/, '\/?(index.html)?')
44
.replace(/\.html/, '(\\.html)?')
45
cspHeadersForSourceGlob = cspHeadersForSourceGlob.concat(
46
[
0 commit comments