From ab6950c8fa882c3d0898a58835f6b670a2a2afa0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Linus=20=C3=96stberg?= Date: Wed, 24 Apr 2019 14:28:44 +0200 Subject: [PATCH] version is needed to function, so no point having it optional --- backend/route.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/route.py b/backend/route.py index e691d1b04..48e8d44dc 100644 --- a/backend/route.py +++ b/backend/route.py @@ -45,7 +45,7 @@ def __init__(self, settings): {"path": "static/img/"}), (r"/release/(?P[^\/]+)/(?P[^\/]+)/(?P[^\/]+)",handlers.TemporaryStaticNginxFileHandler, {"path": "/release-files/"}), - (r"/release/(?P[^\/]+)/(?:versions/(?P[^/]+)/)?(?P[^\/]+)", handlers.AuthorizedStaticNginxFileHandler, + (r"/release/(?P[^\/]+)/versions/(?P[^/]+)/(?P[^\/]+)", handlers.AuthorizedStaticNginxFileHandler, {"path": "/release-files/"}), ## Authentication (r"/logout", auth.ElixirLogoutHandler),