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

Fixkamo-analytics
Shipped
2026年4月17日 19:04 UTC
Author
Kamo
Commit
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.

All changes

配送を見るのが好きですか?

これらのアップデートは、自動的にワークスペースに埋め込まれます。 週1回無料スタートし、週1回生育する.

永遠に無料で始める料金を見る