mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-05-25 18:37:47 +02:00
fix public url
This commit is contained in:
@@ -42,7 +42,7 @@ class Anonymous_Github:
|
|||||||
if self.host == "0.0.0.0":
|
if self.host == "0.0.0.0":
|
||||||
self.public_url = "http://" + socket.getfqdn() + ":" + str(self.port)
|
self.public_url = "http://" + socket.getfqdn() + ":" + str(self.port)
|
||||||
else:
|
else:
|
||||||
self.public_url = "http://" + self.host + ":" + str(self.port)
|
self.public_url = self.host
|
||||||
if self.public_url[-1] == '/':
|
if self.public_url[-1] == '/':
|
||||||
self.public_url = self.public_url[0:-1]
|
self.public_url = self.public_url[0:-1]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user