objectcomputing / check-ins

Other
7 stars 6 forks source link

chore: update local cors config #2390

Closed vhscom closed 4 months ago

vhscom commented 4 months ago

With the micronaut upgrade in #2360 our HMR functionality began malfunctioning as pictured below. Looking at the latest CORS docs for Micronaut (4.4.x) https://docs.micronaut.io/latest/guide/index.html#cors I see the Regex property uses the name regex. When the name is configured like the documentation with the Regex postfix the regex works as expected and attempts to fetch resources from a browser on port 5137 will work as expected.

Screenshot 2024-05-15 at 4 29 01 PM