mirror of
https://github.com/TwiN/gatus.git
synced 2024-12-14 11:58:04 +00:00
6a8c308af7
This is because fiber does not work the same way that mux did wrt groups (mux referred to them as subrouters). I could not apply a middleware to a specific fiber Group due to the groups being prefix-based. In other words, the only other way to apply middlewares to specific endpoints without changing the path is by applying the security middleware after the routes that did not need to be protected and before the routes that did need to be protected |
||
---|---|---|
.. | ||
api.go | ||
api_test.go | ||
badge.go | ||
badge_test.go | ||
cache.go | ||
chart.go | ||
chart_test.go | ||
config.go | ||
config_test.go | ||
endpoint_status.go | ||
endpoint_status_test.go | ||
spa.go | ||
spa_test.go | ||
util.go | ||
util_test.go |