Files
hemma/frontend/Trunk.toml
2022-07-29 01:41:28 +02:00

19 lines
577 B
TOML

[serve]
address = "0.0.0.0"
[[proxy]]
# This WebSocket proxy example has a backend and ws field. This example will listen for
# WebSocket connections at `/api/ws` and proxy them to `ws://localhost:9000/api/ws`.
backend = "ws://localhost:8000/api/ws"
ws = true
#[[proxy]]
# This proxy example has a backend and a rewrite field. Requests received on `rewrite` will be
# proxied to the backend after rewriting the `rewrite` prefix to the `backend`'s URI prefix.
# E.G., `/api/v1/resource/x/y/z` -> `/resource/x/y/z`
#rewrite = "/api/"
#backend = "http://localhost:8000/api/"