Skip to content

Commit

Permalink
fix: serve static files from pwa if not found on api
Browse files Browse the repository at this point in the history
  • Loading branch information
ibousfiha committed May 26, 2024
1 parent f0f4abf commit cd6a41d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions api/frankenphp/Caddyfile
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit cd6a41d

Please sign in to comment.