diff options
| author | Robert Günzler <r@gnzler.io> | 2026-02-23 14:26:55 +0100 |
|---|---|---|
| committer | Robert Günzler <r@gnzler.io> | 2026-02-23 14:27:10 +0100 |
| commit | fe77c8fb1e8edfd802485dba0c1ffdc8e2005ea5 (patch) | |
| tree | 44b39a1c5e7f7b9dcf3ddd30e7802a8b65e5c742 /bundles/lhost/files/Caddyfile | |
| parent | 36fc6edc20b4f3f204f136de33a276934203929c (diff) | |
lhost: fix prune script
Signed-off-by: Robert Günzler <r@gnzler.io>
Diffstat (limited to 'bundles/lhost/files/Caddyfile')
| -rw-r--r-- | bundles/lhost/files/Caddyfile | 11 |
1 files changed, 11 insertions, 0 deletions
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 |