Skip to content

Add middleware to redirect get requests with trailing slashes

Nils Brinckmann requested to merge add-slash-middleware into develop

This should make the api to be a little bit easier to explore.

With it we can go to https://localhost/backend/api/v1/devices/ and get the redirect to the correct route https://localhost/backend/api/v1/devices (without the slash at the end) - and no 404 anymore.

Merge request reports

Loading