From de7d0d03ec33c15fd61d3a970be71ecde66c1952 Mon Sep 17 00:00:00 2001 From: codevictory Date: Tue, 11 Jan 2022 21:35:34 +0200 Subject: [PATCH] Change conf route all requests to React App. --- firebase.json | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/firebase.json b/firebase.json index 4bb1cbc..cfbc74c 100644 --- a/firebase.json +++ b/firebase.json @@ -1,13 +1,11 @@ { "hosting": { - "public": ".", + "public": "build", "ignore": ["firebase.json", "**/.*", "**/node_modules/**"], - "cleanUrls": true, - "appAssociation": "AUTO", "rewrites": [ { - "source": "/**", - "dynamicLinks": true + "source": "**", + "destination": "/index.html" } ] }