feat(web): configure server URL at runtime #9
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "move-to-one-server-url-env"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The web app previously embedded
NEXT_PUBLIC_SERVER_URLduring its build, preventing a deployed image from using a runtime API origin.Replace the build-time public variable with required server-side
SERVER_URL, create server and browser auth/oRPC clients from that value, and pass it through the root client provider. Update Docker, Forgejo build configuration, Turborepo inputs, and setup documentation accordingly.0612c447914ec0fdf058