mirror of
https://github.com/wassname/TTS.git
synced 2026-09-09 11:16:00 +08:00
server: also listen to ipv6
The [::] address will listen to both ipv4/ipv6 addresses.
This commit is contained in:
committed by
Eren Gölge
parent
ef37633cb3
commit
f5fd7f78d4
@@ -117,7 +117,7 @@ def tts():
|
||||
|
||||
|
||||
def main():
|
||||
app.run(debug=args.debug, host="0.0.0.0", port=args.port)
|
||||
app.run(debug=args.debug, host="::", port=args.port)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
||||
Reference in New Issue
Block a user