Skip to content
Unverified Commit 965fab42 authored by Segfault16's avatar Segfault16 Committed by GitHub
Browse files

Add API route config (#1760)



* Add API route config

In addition to requests with Accept header `application/json` return 401 instead of 302 to login page on requests matching API paths regex.

* Update changelog

* Refactor

* Remove unnecessary comment

* Reorder checks

* Lint Api -> API

Co-authored-by: default avatarSebastian Halder <sebastian.halder@boehringer-ingelheim.com>
parent b82593b9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment