From 4353f015c87858af6b25514f201e667a947732f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dirk=20M=C3=BCller?= Date: Wed, 22 Nov 2023 14:39:55 +0100 Subject: [PATCH] Switch to localhost:9999 which is provided via a ssh tunnel The port is no longer directly exposed, so we need to ssh tunnel it --- lib/lfs_oid.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/lfs_oid.py b/lib/lfs_oid.py index 6a3bc64..6f116c7 100644 --- a/lib/lfs_oid.py +++ b/lib/lfs_oid.py @@ -83,7 +83,7 @@ class LFSOid: self.register() def check(self): - url = f"http://src.opensuse.org:9999/check/{self.sha256}/{self.size}" + url = f"http://localhost:9999/check/{self.sha256}/{self.size}" response = requests.get( url, timeout=10, @@ -127,7 +127,7 @@ class LFSOid: "size": self.size, } - url = "http://src.opensuse.org:9999/register" + url = "http://localhost:9999/register" response = requests.post( url, json=data,