SDiFI / masdif

Manager for Spoken Dialog Framework
Apache License 2.0
1 stars 0 forks source link

Add CORS configuration #9

Closed lumpidu closed 1 year ago

lumpidu commented 1 year ago

Add CorsController with a route for OPTIONS /

To debug, use e.g. the following command to trigger CORS:

curl -X OPTIONS -H "Origin: sdifi-project.com"; -i http://localhost:3000/

Also added a CORS integration test.

This fixes #5