Skip to content
This repository has been archived by the owner on Jan 17, 2025. It is now read-only.

Fix route URL double slashes #6

Merged
merged 1 commit into from
Feb 2, 2024
Merged

Fix route URL double slashes #6

merged 1 commit into from
Feb 2, 2024

Conversation

earnjam
Copy link
Member

@earnjam earnjam commented Oct 28, 2023

The Runtime module uses rest_url() to determine the base url for the rest route. This uses get_rest_url() which already appends a / by default.

So we are currently double slashing the path in the URL, which is leading to 404s for any of these requests.

@circlecube circlecube merged commit f5026d3 into main Feb 2, 2024
@circlecube circlecube deleted the fix/api-endpoint-url branch February 2, 2024 13:40
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants