PharmaLedger-IMI / epi-workspace

ePI use case main repository
MIT License
4 stars 0 forks source link

Fix CORS issue in APIHUB #1143

Closed salboaie closed 1 year ago

salboaie commented 1 year ago

Refactor responseHeader middleware to set headers for specific paths

asaccool commented 1 year ago

check the list of allowed headers to include some needed headers like epiprotocolversion and others

jaravan1 commented 1 year ago

related with https://github.com/PharmaLedger-IMI/epi-workspace/issues/1107

salboaie commented 1 year ago

Solution: each component that inserts require custom headers will have a way to register them so the CORS component is capable to get a correct answer without additional configurations