-h
to the
chainlit run
command. Otherwise a browser window will be opened server side
and might break your deployment.
127.0.0.1
.
Typically, if you are running Chainlit on docker, you want to add --host 0.0.0.0
to your chainlit command.
transports = ["websocket"]
in your .chainlit/config.toml
file.
https://my-app.com/chainlit
, you will need to set the --root-path /chainlit
flag when running the chainlit run
command. This will ensure that
the app is served from the correct path.
allow_origins
field of your .chainlit/config.toml
.