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

[future] support strict-origin-when-cross-origin #18

Open
h4rk8s opened this issue Feb 5, 2023 · 1 comment
Open

[future] support strict-origin-when-cross-origin #18

h4rk8s opened this issue Feb 5, 2023 · 1 comment

Comments

@h4rk8s
Copy link

h4rk8s commented Feb 5, 2023

ngrok sometimes so slow, so I used other solutions.
so I need edit "cli/run_app.py"
L105
... "--server.enableCORS", "false", "--server.enableXsrfProtection", "false", "--server.enableWebsocketCompression", "false",
...
But hard coding isn't a good solution either, so maybe we can do it in the configuration,maybe we can add args:
diffuzers app ..... --cors http://xxx.xx.xx

thanks.

@h4rk8s
Copy link
Author

h4rk8s commented Feb 5, 2023

other solutions : https://github.com/fatedier/frp

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

1 participant