Skip to content

Failed to load resource, 404 while using BASE_PATH #7162

@silkofix

Description

@silkofix

NetBox version

v3.0.1

Python version

3.9

Steps to Reproduce

  1. Go to IPAM -> VLANs
  2. Click "Add"

Expected Behavior

Get all of searching fields like: "Tags", "Role", "VLAN Group"

Observed Behavior

I used BASE_PATH = 'netbox/'
Get a red box and api error.
netbox.js:8 GET https://localhost/netbox/netbox/api/ipam/roles/?brief=true 404 (Not Found)
I think the problem is in the link being created, it is duplicated.

When i removed BASE_PATH and use netbox like https://localhost/.
Link be like: https://localhost/api/ipam/roles/?brief=true and no problems further

Metadata

Metadata

Assignees

Labels

status: acceptedThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the application

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions