quarkus.io ships with the undertow web server and built-in Cross-Origin Resource Sharing (CORS) support.
To activate the CORS filter you only have to set a single property (
In this screencast I built a web application from scratch and accessed the backend using the Fetch API with and without activated CORS:
See you at Web, MicroProfile and Java EE Workshops at Munich Airport, Terminal 2 or Virtual Dedicated Workshops / consulting. Is Munich's airport too far? Learn from home: airhacks.io.
Cloudy Jakarta EE and MicroProfile: Microservices, Clouds and Beyond Jakarta EE / MicroProfile airhacks workshops at MUC airport, Winter Edition
airhacks.fm the podcast:
Stay in touch: airhacks.news.