file-server: add Service-Worker-Allowed header

This commit is contained in:
Liam Fitzgerald 2021-02-04 15:26:59 +10:00
parent e06311b3d1
commit e831dd1bc9
No known key found for this signature in database
GPG Key ID: D390E12C61D1CFFB

View File

@ -237,7 +237,12 @@
=/ mime-type=@t (rsh 3 (crip <p.u.data>))
:: Should maybe inspect to see how long cache should hold
::
[[200 ['content-type' mime-type] max-1-da:gen ~] `q.u.data]
=/ headers
:~ content-type+mime-type
max-1-da:gen
'Service-Worker-Allowed'^'/'
==
[[200 headers] `q.u.data]
==
::
++ lowercase