forked from importers/git-importer
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:
parent
9cbe0899bc
commit
4353f015c8
@ -83,7 +83,7 @@ class LFSOid:
|
|||||||
self.register()
|
self.register()
|
||||||
|
|
||||||
def check(self):
|
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(
|
response = requests.get(
|
||||||
url,
|
url,
|
||||||
timeout=10,
|
timeout=10,
|
||||||
@ -127,7 +127,7 @@ class LFSOid:
|
|||||||
"size": self.size,
|
"size": self.size,
|
||||||
}
|
}
|
||||||
|
|
||||||
url = "http://src.opensuse.org:9999/register"
|
url = "http://localhost:9999/register"
|
||||||
response = requests.post(
|
response = requests.post(
|
||||||
url,
|
url,
|
||||||
json=data,
|
json=data,
|
||||||
|
Loading…
Reference in New Issue
Block a user