Skip to content
This repository has been archived by the owner on Aug 8, 2024. It is now read-only.

fix: send cors headers back after onError result #69

Merged
merged 1 commit into from
May 20, 2021
Merged

fix: send cors headers back after onError result #69

merged 1 commit into from
May 20, 2021

Conversation

gerjunior
Copy link
Contributor

cors would block the api from sending the result back after proxyIntegrationConfig.onError since the lib was returning the result without the headers.

Before this PR, I was sending the headers by setting them manually and returning from onError.

@chgohlke
Copy link
Member

Hi @gerjunior , good point. And with tests 👍 . Thanks!

@chgohlke chgohlke merged commit 14871a6 into spring-media:master May 20, 2021
@gerjunior gerjunior deleted the fix/cors-on-error branch May 20, 2021 12:56
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants