[gbm-web] redirector: Move latest-* files to the top level directory



commit 69d20bc523d6f18abfd89650db785e675a955a6f
Author: Bartłomiej Piotrowski <bpiotrowski gnome org>
Date:   Mon Jun 21 15:14:51 2021 +0200

    redirector: Move latest-* files to the top level directory

 redirector/main.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/redirector/main.py b/redirector/main.py
index 8bfd1e7..3c1cb43 100644
--- a/redirector/main.py
+++ b/redirector/main.py
@@ -32,7 +32,7 @@ def get_nightly(filename: str):
     else:
         return Response(status_code=status.HTTP_404_NOT_FOUND)
 
-    r = requests.get(f"{cfg.bucket_url}/nightly/{latest_filename}")
+    r = requests.get(f"{cfg.bucket_url}/{latest_filename}")
     latest = r.text.rstrip()
     directory, version, filename = latest.split("/")
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]