Skip to content

quickstart.sh auto delete / in the end of NETBOX_HOST #563

Description

@tinyhare

Diode version

v2.1.0

Feature type

Change to existing functionality

Proposed feature or enhancement

When I copy my netbox host, I get something like 'http://netbox.example.net/' (with / in the end)

I run ./quickstart.sh http://netbox.example.net/

in the .env file, I get NETBOX_DIODE_PLUGIN_API_BASE_URL=http://netbox.example.net//api/plugins/diode (with double slash //)

Then I get this error:

http://netbox.example.net//api/plugins/diode/default-branch/
"}
diode-diode-reconciler-1      | {"time":"2026-07-22T15:13:55.323344791Z","level":"DEBUG","msg":"get default branch","statusCode":404}

I think other people could make this mistake too, the quickstart.sh delete the trailing / automaticly is helpfull.

Use case

./quickstart.sh http://netbox.example.net/

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requeststatus: needs triageThis issue is awaiting triage by a maintainer

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions