diffuzers
diffuzers copied to clipboard
[future] support strict-origin-when-cross-origin
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.