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

Fixkamo-analytics
Shipped
17 أبريل 2026 في 7:15 م UTC
صاحب البلاغ
Kamo
Commit
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.

جميع التغييرات

مثل ما ترى الشحن؟?

كل واحد من هذه تحديثات الأراضي في مكان عملك تلقائيا. ابدأوا بالمجان وشاهدوها تنمو بعد أسبوع.

ابدأوا حراً للأبدخصخصة الفيو