diff --git a/generate-firebase-json.js b/generate-firebase-json.js index a34db49..02beaa7 100644 --- a/generate-firebase-json.js +++ b/generate-firebase-json.js @@ -41,9 +41,7 @@ const generateFirebaseJson = ( const sourceGlob = htmlPluginData.outputName .replace(/\.html/, '') .replace(/index/, '/') - // .replace(/404\.html/, '**/*') - // .replace(/index\.html/, '\/?(index.html)?') - // .replace(/\.html/, '(\\.html)?') + .replace(/404/, '**/*'); cspHeadersForSourceGlob = cspHeadersForSourceGlob.concat( [ {