feat(dev): serve Vite and FastAPI through the existing UI endpoint
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
# Existing s2s-client FastAPI server. Used only by Vite's server-side proxy.
|
||||
S2S_BACKEND_URL=http://127.0.0.1:8420
|
||||
# Comma-separated hostnames, only needed when accessing Vite through a remote host.
|
||||
# FastAPI target when running npm run dev independently. start_ui.sh sets this
|
||||
# to its own backend using S2S_BACKEND_PORT (default 8421).
|
||||
S2S_BACKEND_URL=http://127.0.0.1:8421
|
||||
# Comma-separated hostnames for remote access, without scheme or port.
|
||||
# With start_ui.sh this can also be set in the repository root .env.
|
||||
S2S_DEV_ALLOWED_HOSTS=
|
||||
|
||||
Reference in New Issue
Block a user