fix: add missing cache-control for gz/webapp files (#1660)

This commit is contained in:
Nolan Lawson 2019-11-28 10:26:01 -08:00 committed by GitHub
parent 3bf98804f5
commit 561357b48e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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: { headers: {
'cache-control': 'public,max-age=3600' 'cache-control': 'public,max-age=3600'
} }