From 88c7db41f0dfff5595843f38b9fdcbcd676d877a Mon Sep 17 00:00:00 2001 From: Emre KARTAL Date: Sat, 25 Nov 2023 14:58:25 +0100 Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=20jour=20de=20'Sources/justMUSIC/?= =?UTF-8?q?firebase.json'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Sources/justMUSIC/firebase.json | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/Sources/justMUSIC/firebase.json b/Sources/justMUSIC/firebase.json index 60df67a..1298c48 100644 --- a/Sources/justMUSIC/firebase.json +++ b/Sources/justMUSIC/firebase.json @@ -12,6 +12,25 @@ "source": "**", "destination": "/index.html" } - ] + ], + "headers": [ { + "source": "/.@(eot|otf|ttf|ttc|woff|font.css)", + "headers": [ { + "key": "Access-Control-Allow-Origin", + "value": "" + } ] + }, { + "source": "/*.@(jpg|jpeg|gif|png)", + "headers": [ { + "key": "Cache-Control", + "value": "max-age=7200" + } ] + }, { + "source": "404.html", + "headers": [ { + "key": "Cache-Control", + "value": "max-age=300" + } ] + } ] } }