[gbm-web] redirector: Move latest-* files to the top level directory
- From: Bartłomiej Piotrowski <bpiotrowski src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gbm-web] redirector: Move latest-* files to the top level directory
- Date: Mon, 21 Jun 2021 13:15:13 +0000 (UTC)
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]