Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CORS #34

Open
ghost opened this issue Jun 17, 2021 · 0 comments
Open

CORS #34

ghost opened this issue Jun 17, 2021 · 0 comments

Comments

@ghost
Copy link

ghost commented Jun 17, 2021

Since the application may be accessed from a web page that is hosted on a different host/ port, the CORS headers have to be set accordingly.

Note that the custom headers also need to be supported. See DigitalGreenCertificateResource.java. The configuration should be done using environment variables via the application.properties file. One should be able to specify the host/ port from where the backend should be reached.

Quarkus already supports setting the values through the application.properties. The settings should be as restrictive as possible without affecting the applications functionality.

This issue has been mentioned before by @richard-infai .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants