Move CORS to Traefik via kamo-middlewares, remove in-app CorsFilter

FixAPIService
Shipped
25 เมษายน 2569 เวลา 22:54 UTC
Author
Kamo
Commit
e98f496

The CorsFilter @Bean in the Spring app was silently not applying headers after WebConfig.java was removed. CORS is now handled entirely at the Traefik layer by adding kamo-middlewares to the IngressRoute, which is the consistent pattern used by all other API routes. CorsFilter bean removed; CorsConfigurationSource kept in case Spring Security is re-enabled. Also adds namespace: kamo to IngressRoute to match the kamo namespace where the middleware and service live.

All changes

เหมือนที่คุณเห็นการขนส่ง?

ทุก คน ที่ ได้ รับ การ ปรับ ปรุง เหล่า นี้ จะ ลง ไป ใน ที่ ทํา งาน ของ คุณ โดย อัตโนมัติ. เริ่มให้อิสระและดูมันเติบโตสัปดาห์แล้วสัปดาห์เล่า.

เริ่ม เป็น อิสระ ตลอด ไปแสดงพริ้นซ์