mirror of
https://github.com/TwiN/gatus.git
synced 2024-12-22 14:41:01 +01: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_test.go | ||
api.go | ||
badge_test.go | ||
badge.go | ||
cache.go | ||
chart_test.go | ||
chart.go | ||
config_test.go | ||
config.go | ||
endpoint_status_test.go | ||
endpoint_status.go | ||
spa_test.go | ||
spa.go | ||
util_test.go | ||
util.go |