mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2025-04-15 14:46:34 +00:00
security problem
This commit is contained in:
parent
40eb239682
commit
e20d3a5043
2
app.py
2
app.py
@ -1397,7 +1397,7 @@ if __name__ == "__main__":
|
||||
|
||||
|
||||
url = f'http://{config["host"]}:{config["port"]}'
|
||||
if config["host"]=="0.0.0.0":
|
||||
if config["host"]=="localhost":
|
||||
print(f'Please open your browser and go to http://localhost:{config["port"]} to view the ui')
|
||||
ASCIIColors.success(f'This server is visible from a remote PC. use this address http://{get_ip_address()}:{config["port"]}')
|
||||
else:
|
||||
|
Loading…
x
Reference in New Issue
Block a user