Read ALLOWED_FRAME_URLS at runtime so CSP frame-ancestors works in standalone mode

Fixkamo-analytics
Expediere
17 aprilie 2026 la 19:04 UTC
Autor
Kamo
Comite
dd02991

The env var was being read at module scope during build, baking an empty value into the standalone server. Move CSP and all header construction into functions called by the async headers() callback so they resolve at request time with the runtime environment.

Toate modificările

Ca ceea ce vezi de transport maritim?

Fiecare dintre aceste actualizări aterizează automat în spațiul de lucru. Începe gratuit și urmăriți-l crească săptămână după săptămână.

Pornește gratuit pentru totdeaunaVezi prețurile