darkpixel / statuspage

A simple self-hosted status page site with an API written in Django under the BSD license
https://darkpixel.github.com/statuspage/
BSD 3-Clause "New" or "Revised" License
112 stars 23 forks source link

Exclude API from Stronghold #27

Closed codemonkey2841 closed 4 years ago

codemonkey2841 commented 4 years ago

Given that all API views already require an API key in order to operate, requiring the extra layer of authentication that Stronghold adds is extraneous and, at times, problematic.

This PR adds an exclusion to Stronghold for all API routes, allowing them to be accessed without trying to redirect to the login page.