Skip to content

web: setup tab hardcodes localhost; remote browsing breaks #73

Description

@planetf1

crates/otelite-api/static/index.html lines 123-126 hardcode "listening on localhost:4317" / "localhost:4318". When the user runs otelite serve --addr 0.0.0.0:3000 and browses from another machine, the displayed endpoints are wrong.

Suggested fix: have /api/health (or a new /api/config) return the actual bind addresses; setup.js fetches and renders them.

Acceptance criteria: setup tab displays the actual bind addresses when accessed via a non-localhost host.


Filed from review on 2026-05-15.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:webWeb dashboard UIpriority:p4Backlog — deferredtype:bugSomething is broken

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions