From a721f60f9c684784e0141939162b36f5b2f7ba2d Mon Sep 17 00:00:00 2001 From: Ilia Ross Date: Sat, 20 Jul 2024 15:57:40 +0300 Subject: [PATCH] Fix to allow `service-worker.js` in unauth [build] --- miniserv.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/miniserv.pl b/miniserv.pl index b88a21b5a..def1fb1be 100755 --- a/miniserv.pl +++ b/miniserv.pl @@ -4894,7 +4894,7 @@ my %vital = ("port", 80, "listen_delay", 5, "pam", "webmin", "sidname", "sid", - "unauth", "^/unauthenticated/ ^/robots.txt\$ ^[A-Za-z0-9\\-/_]+\\.jar\$ ^[A-Za-z0-9\\-/_]+\\.class\$ ^[A-Za-z0-9\\-/_]+\\.gif\$ ^[A-Za-z0-9\\-/_]+\\.png\$ ^[A-Za-z0-9\\-/_]+\\.conf\$ ^[A-Za-z0-9\\-/_]+\\.ico\$ ^/robots.txt\$", + "unauth", "^/unauthenticated/ ^/robots.txt\$ ^[A-Za-z0-9\\-/_]+\\.jar\$ ^[A-Za-z0-9\\-/_]+\\.class\$ ^[A-Za-z0-9\\-/_]+\\.gif\$ ^[A-Za-z0-9\\-/_]+\\.png\$ ^[A-Za-z0-9\\-/_]+\\.conf\$ ^[A-Za-z0-9\\-/_]+\\.ico\$ ^/robots.txt\$ ^/service-worker.js\$", "max_post", 10000, "expires", 7*24*60*60, "pam_test_user", "root",