From a1ba4a96521734aaf26de99a25df94db77786cd9 Mon Sep 17 00:00:00 2001 From: Miodec Date: Fri, 23 Feb 2024 19:43:33 +0100 Subject: [PATCH] fix: dont rewrite static assets to index should fix resources not giving 404 errors --- frontend/firebase.json | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/frontend/firebase.json b/frontend/firebase.json index 685e5b03e..ea5acd821 100644 --- a/frontend/firebase.json +++ b/frontend/firebase.json @@ -20,7 +20,11 @@ "destination": "/adtest.html" }, { - "source": "**", + "source": "/test", + "destination": "/index.html" + }, + { + "source": "!/@(js|about|challenges|css|fonts|funbox|images|languages|layouts|quotes|sound|themes|webfonts)/**", "destination": "/index.html" } ],