Renamed main.py to start.py

This commit is contained in:
walkingwormfood 2023-08-23 09:52:22 -05:00
parent f081017c1a
commit 8480c5ff8f

View File

@ -179,7 +179,7 @@ if __name__ == "__main__":
def startup_server(address, port):
import webbrowser
if os.name == 'nt' and address == '0.0.0.0':
address = '127.0.0.1'
address = '0.0.0.0'
webbrowser.open(f"http://{address}:{port}")
call_on_start = startup_server