-
Notifications
You must be signed in to change notification settings - Fork 34
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
diable CORS security? #49
Comments
Hi, currently there is no way to add CORS headers. May I ask about your use case, what is the setup so that the UI address is different than the backend? |
I have my own frontend to show log messages from PM2. For that I need to connect to ws://localhost:8080. So there is the CORS issue. Did I miss something to use alternative frontend to bypass the CORS issue? I could do bypass the CORS issue by modifying the logdy-core of v.0.10.0, but could not for v0.13.0 version. FYI, my frontend is Flutter web and need to parse log messages. |
Would adding a logdy --cors-origin=http://abc.com |
that would work. If possible, multiple origins or allowing all origins would be better. |
is there any way to disable CORS security?
I could not find any options in the source code.
The text was updated successfully, but these errors were encountered: