fix: add missing cache-control for gz/webapp files (#1660)
This commit is contained in:
parent
3bf98804f5
commit
561357b48e
|
@ -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'
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue