From fe77c8fb1e8edfd802485dba0c1ffdc8e2005ea5 Mon Sep 17 00:00:00 2001 From: Robert Günzler Date: Mon, 23 Feb 2026 14:26:55 +0100 Subject: lhost: fix prune script MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Robert Günzler --- bundles/lhost/files/Caddyfile | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'bundles/lhost/files/Caddyfile') diff --git a/bundles/lhost/files/Caddyfile b/bundles/lhost/files/Caddyfile index 497ef30..0e865a0 100644 --- a/bundles/lhost/files/Caddyfile +++ b/bundles/lhost/files/Caddyfile @@ -20,6 +20,17 @@ http:// { } } + # enable cors + header { + Access-Control-Allow-Headers * + Access-Control-Allow-Methods * + Access-Control-Allow-Origin * + } + @options { + method OPTIONS + } + respond @options 204 + # catch all respond 404 -- cgit 1.4.1