Move CSP to proxy.ts instead of middleware.ts to avoid build conflict

Fixkamo-analytics
出荷済み
2026年4月17日 19:15 UTC
プロフィール
Kamo
コンテンツ
18d202d

Next.js 16 doesn't allow both middleware.ts and proxy.ts. The Docker build copies proxy.ts as the middleware, so add CSP frame-ancestors header there instead. This reads ALLOWED_FRAME_URLS at runtime.

すべての変更

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

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

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