fix missing "public" directive

This commit is contained in:
Ivan Gabaldon 2024-08-06 13:12:30 +02:00
parent 154c421271
commit d8d9e09705
No known key found for this signature in database
GPG Key ID: 075587C93FA67582
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ header @api {
route { route {
# Caching # Caching
header Cache-Control "no-cache, no-store" header Cache-Control "no-cache, no-store"
header @static Cache-Control "max-age=31536000" header @static Cache-Control "public, max-age=31536000"
# CSP (https://content-security-policy.com) # CSP (https://content-security-policy.com)
header Content-Security-Policy "upgrade-insecure-requests; default-src 'none'; script-src 'self'; style-src 'self' 'unsafe-inline'; form-action 'self' https://github.com/searxng/searxng/issues/new; font-src 'self'; frame-ancestors 'self'; base-uri 'self'; connect-src 'self' https://overpass-api.de; img-src 'self' data: https://*.tile.openstreetmap.org; frame-src https://www.youtube-nocookie.com https://player.vimeo.com https://www.dailymotion.com https://www.deezer.com https://www.mixcloud.com https://w.soundcloud.com https://embed.spotify.com" header Content-Security-Policy "upgrade-insecure-requests; default-src 'none'; script-src 'self'; style-src 'self' 'unsafe-inline'; form-action 'self' https://github.com/searxng/searxng/issues/new; font-src 'self'; frame-ancestors 'self'; base-uri 'self'; connect-src 'self' https://overpass-api.de; img-src 'self' data: https://*.tile.openstreetmap.org; frame-src https://www.youtube-nocookie.com https://player.vimeo.com https://www.dailymotion.com https://www.deezer.com https://www.mixcloud.com https://w.soundcloud.com https://embed.spotify.com"