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

Fixkamo-analytics
已装运
2026年4月17日 19:04 UTC
作者
Kamo
提交
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.

所有更改

就像你看到的运输?

每一个都自动更新您工作空间的地盘。 开始自由,看它成长 一周又一周.

永远开始自由查看定价