From 1d1751e76f1b2efbd2b3ae7a249da7769014906c Mon Sep 17 00:00:00 2001 From: Didier Marin Date: Wed, 28 Sep 2022 12:21:21 +0200 Subject: [PATCH] Fix redirections on Firebase hosting --- firebase.json | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/firebase.json b/firebase.json index 5798f5a..34d379b 100644 --- a/firebase.json +++ b/firebase.json @@ -5,10 +5,12 @@ }, "hosting": { "public": "build", - "ignore": [ - "firebase.json", - "**/.*", - "**/node_modules/**" + "ignore": ["firebase.json", "**/.*", "**/node_modules/**"], + "rewrites": [ + { + "source": "**", + "destination": "/index.html" + } ] }, "emulators": {