From cd6a41d62effce395109ec410a2f967a632f1528 Mon Sep 17 00:00:00 2001 From: Issam Bousfiha Date: Sun, 26 May 2024 15:31:28 +0200 Subject: [PATCH] fix: serve static files from pwa if not found on api --- api/frankenphp/Caddyfile | 1 + 1 file changed, 1 insertion(+) diff --git a/api/frankenphp/Caddyfile b/api/frankenphp/Caddyfile index a930324eeb..e3e7e5ee6c 100644 --- a/api/frankenphp/Caddyfile +++ b/api/frankenphp/Caddyfile @@ -77,6 +77,7 @@ ) ) || path('/favicon.ico', '/manifest.json', '/robots.txt', '/sitemap*', '/_next*', '/__next*') + || path('*.png', '*.jpg', '*.jpeg', '*.gif', '*.svg', '*.ico', '*.webp', '*.bmp') || query({'_rsc': '*'})` # Comment the following line if you don't want Next.js to catch requests for HTML documents.