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
This commit is contained in:
Dirk Müller 2023-11-22 14:39:55 +01:00
parent 9cbe0899bc
commit 4353f015c8
No known key found for this signature in database

View File

@ -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,