Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/easydiffusion/easydiffusion
/ getIPConfig
Function
getIPConfig
ui/easydiffusion/app.py:310–317 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
308
309
310
def
getIPConfig():
311
try
:
312
ips = socket.gethostbyname_ex(socket.gethostname())
313
ips[2].append(ips[0])
314
return
ips[2]
315
except
Exception
as
e:
316
log.exception(e)
317
return
[]
318
319
320
def
open_browser():
Callers
nothing calls this directly
Calls
2
append
Method · 0.80
exception
Method · 0.80
Tested by
no test coverage detected