We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8fb9bb5 commit 535b5f3Copy full SHA for 535b5f3
src/quart/app.py
@@ -919,7 +919,10 @@ def run_task(
919
config = HyperConfig()
920
config.access_log_format = "%(h)s %(r)s %(s)s %(b)s %(D)s"
921
config.accesslog = "-"
922
- config.bind = [f"{host}:{port}"]
+ if host.startswith("unix:") or host.startswith("fd:"):
923
+ config.bind = [f"{host}"]
924
+ else:
925
+ config.bind = [f"{host}:{port}"]
926
config.ca_certs = ca_certs
927
config.certfile = certfile
928
if debug is not None:
0 commit comments