Skip to content

fix(dev): let the dev UI's public address be configured - #1487

Open
copybara-service[bot] wants to merge 1 commit into
mainfrom
test_977785275
Open

fix(dev): let the dev UI's public address be configured#1487
copybara-service[bot] wants to merge 1 commit into
mainfrom
test_977785275

Conversation

@copybara-service

@copybara-service copybara-service Bot commented Sep 8, 2026

Copy link
Copy Markdown

fix(dev): let the dev UI's public address be configured

Behind a gateway that strips a path prefix, the Development UI's own API calls
went to the origin root, because the bundled runtime-config.json ships an
empty backendUrl with no way to change it.

adk.web.backend-url now names the address browsers reach the server on. It
sets that value and prefixes the entry redirect, so both halves work without
anything being forwarded by the proxy. It must be an absolute URL, because the
UI reads a value without a scheme as the host of its live connection. Left
unset, nothing changes.

Behind a gateway that strips a path prefix, the Development UI's own API calls
went to the origin root, because the bundled `runtime-config.json` ships an
empty `backendUrl` with no way to change it.

`adk.web.backend-url` now names the address browsers reach the server on. It
sets that value and prefixes the entry redirect, so both halves work without
anything being forwarded by the proxy. It must be an absolute URL, because the
UI reads a value without a scheme as the host of its live connection. Left
unset, nothing changes.

PiperOrigin-RevId: 977785275
@copybara-service copybara-service Bot changed the title fix(web): make the dev UI work behind a path-stripping reverse proxy fix(dev): let the dev UI's public address be configured Sep 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant