From 561357b48ee319c2a1970c690a94626e4990e570 Mon Sep 17 00:00:00 2001 From: Nolan Lawson Date: Thu, 28 Nov 2019 10:26:01 -0800 Subject: [PATCH] fix: add missing cache-control for gz/webapp files (#1660) --- bin/build-now-json.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/build-now-json.js b/bin/build-now-json.js index d50a5879..e26e9fce 100644 --- a/bin/build-now-json.js +++ b/bin/build-now-json.js @@ -47,7 +47,7 @@ const JSON_TEMPLATE = { } }, { - src: '^/.*\\.(png|css|json|svg|jpe?g|map|txt)$', + src: '^/.*\\.(png|css|json|svg|jpe?g|map|txt|gz|webapp)$', headers: { 'cache-control': 'public,max-age=3600' }