mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2025-08-13 17:57:20 +02:00
Use socket.gethostname() instead of socket.getfqdn()
This commit is contained in:
@ -307,7 +307,7 @@ def getUIPlugins():
|
|||||||
return plugins
|
return plugins
|
||||||
|
|
||||||
def getIPConfig():
|
def getIPConfig():
|
||||||
ips = socket.gethostbyname_ex(socket.getfqdn())
|
ips = socket.gethostbyname_ex(socket.gethostname())
|
||||||
ips[2].append(ips[0])
|
ips[2].append(ips[0])
|
||||||
return ips[2]
|
return ips[2]
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user