This should fix 404 when requesting /~<username>/ instead of
/~<username>, the rule defining the route.
---
buildsrht/app.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/buildsrht/app.py b/buildsrht/app.py
index 0eeca8d..e9f5349 100644
--- a/buildsrht/app.py
@@ -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
--
2.39.2