From 15e72fe6401bbb8c93699bf35ca7db0441757c01 Mon Sep 17 00:00:00 2001 From: jyassien Date: Fri, 22 Nov 2024 21:14:03 -0700 Subject: [PATCH] update the app to allow page refreshing. --- firebase.json | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/firebase.json b/firebase.json index 7383e94..14872b1 100644 --- a/firebase.json +++ b/firebase.json @@ -1,11 +1,13 @@ { "hosting": { "public": "build", - "ignore": [ - "firebase.json", - "**/.*", - "**/node_modules/**" - ] + "rewrites": [ + { + "source": "**", + "destination": "/index.html" + } + ], + "ignore": ["firebase.json", "**/.*", "**/node_modules/**"] }, "emulators": { "hosting": {