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

fix cors issue #26

Closed
wants to merge 1 commit into from
Closed

fix cors issue #26

wants to merge 1 commit into from

Conversation

@supun19
Copy link

supun19 commented Apr 29, 2019

fix the cors issue

@mudrila

This comment has been minimized.

Copy link

mudrila commented Nov 25, 2019

Can we get it merged?

@Redor

This comment has been minimized.

Copy link
Contributor

Redor commented Nov 25, 2019

There is a problem with multiple filters (cors, auth, gzip). They don't work properly together.
By enabling CORS, GZIP does not work (or auth)

@mudrila

This comment has been minimized.

Copy link

mudrila commented Nov 25, 2019

So, what is way to get CORS enabled? For me - this plugin doesn't work at all, cause any requests I do from browser are failed 😞 (because of "No Access Control Allow Origin blah blah blah)

@Redor

This comment has been minimized.

Copy link
Contributor

Redor commented Nov 25, 2019

Currently they isn't a good solution for that issue. (Except to investigate further to that issue and try to fix it. Or rewrite the code (from jersey to something else, or newer version).
Maybe you can execute your requests not from a Browser?

@deleolajide

This comment has been minimized.

Copy link
Member

deleolajide commented Nov 25, 2019

I had the same problem with the chat api plugin based on this plugin. For now, gzip is disabled and only cors is enabled.

@Redor

This comment has been minimized.

Copy link
Contributor

Redor commented Jan 8, 2020

@Redor Redor closed this Jan 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

4 participants
You can’t perform that action at this time.