From 54a6d192344497fe54ebf03598c7f892e301f1e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bal=C3=A1zs=20Varga?= Date: Sun, 8 Dec 2024 22:04:53 +0100 Subject: [PATCH] z --- generate-firebase-json.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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( [ {