~comcloudway/builds.sr.ht

979c15eaa3dae3164e4e87ea290a6d47ad4ecf2b — Denis Laxalde 1 year, 3 months ago 93a5471
Set url_map.strict_slashes = False

This should fix 404 when requesting /~<username>/ instead of
/~<username>, the rule defining the route.
1 files changed, 2 insertions(+), 0 deletions(-)

M buildsrht/app.py
M buildsrht/app.py => buildsrht/app.py +2 -0
@@ 24,6 24,8 @@ class BuildApp(SrhtFlask):
        super().__init__("builds.sr.ht", __name__,
                oauth_service=BuildOAuthService())

        self.url_map.strict_slashes = False

        from buildsrht.blueprints.admin import admin
        from buildsrht.blueprints.api import api
        from buildsrht.blueprints.jobs import jobs