From e831dd1bc92fe9e72c8da9022cd9ab3d6cde5c11 Mon Sep 17 00:00:00 2001 From: Liam Fitzgerald Date: Thu, 4 Feb 2021 15:26:59 +1000 Subject: [PATCH] file-server: add Service-Worker-Allowed header --- pkg/arvo/app/file-server.hoon | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pkg/arvo/app/file-server.hoon b/pkg/arvo/app/file-server.hoon index 363545d67..fb58ef12b 100644 --- a/pkg/arvo/app/file-server.hoon +++ b/pkg/arvo/app/file-server.hoon @@ -237,7 +237,12 @@ =/ mime-type=@t (rsh 3 (crip )) :: 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