fix: deactivate replace_port

This commit is contained in:
Gabriel Almeida 2023-03-20 13:09:15 -03:00
commit fe1ce49203

View file

@ -74,7 +74,7 @@ def serve(
} }
# Replace the port in index.html # Replace the port in index.html
replace_port(static_files_dir, host, port) # replace_port(static_files_dir, host, port)
if platform.system() in ["Darwin", "Windows"]: if platform.system() in ["Darwin", "Windows"]:
# Run using uvicorn on MacOS and Windows # Run using uvicorn on MacOS and Windows