From a2d6cbd126aba7af0bf3ca01de1b5d9ca398fdd0 Mon Sep 17 00:00:00 2001 From: Firq Date: Thu, 16 Mar 2023 19:20:14 +0100 Subject: [PATCH] cache fix 2 --- serve.json | 28 +++++++++++++--------------- 1 file changed, 13 insertions(+), 15 deletions(-) diff --git a/serve.json b/serve.json index b924bdc..d805fc0 100644 --- a/serve.json +++ b/serve.json @@ -1,15 +1,13 @@ -[ - { - "headers": [ - { - "source": "**/*.@(jpg|jpeg|gif|png|webp)", - "headers": [ - { - "key": "Cache-Control", - "value": "no-cache" - } - ] - } - ] - } -] +{ + "headers": [ + { + "source": "**/*.@(jpg|jpeg|gif|png|webp)", + "headers": [ + { + "key": "Cache-Control", + "value": "no-cache" + } + ] + } + ] +}