Skip to content
This repository has been archived by the owner on Apr 26, 2021. It is now read-only.

Prefix routes with /api #43

Merged
merged 1 commit into from
Apr 6, 2021
Merged

Prefix routes with /api #43

merged 1 commit into from
Apr 6, 2021

Conversation

papagian
Copy link
Collaborator

@papagian papagian commented Apr 6, 2021

Following this discussion.

Prefix all routes with /api. That is required for grafana detecting that it's an API request so that it will return 401 status for unauthorised requests instead of redirecting to login page.

@papagian papagian merged commit 16932b5 into master Apr 6, 2021
@papagian papagian deleted the prefix-api branch April 6, 2021 13:35
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.

None yet

2 participants