mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2025-06-19 17:39:16 +02:00
Use socket.gethostname() instead of socket.getfqdn()
This commit is contained in:
parent
1949d8a50c
commit
2979f04c82
@ -307,7 +307,7 @@ def getUIPlugins():
|
||||
return plugins
|
||||
|
||||
def getIPConfig():
|
||||
ips = socket.gethostbyname_ex(socket.getfqdn())
|
||||
ips = socket.gethostbyname_ex(socket.gethostname())
|
||||
ips[2].append(ips[0])
|
||||
return ips[2]
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user