abhishekkrthakur/diffuzers

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

h4rk8s opened this issue · 1 comments

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.