mirror of
https://github.com/wassname/TTS.git
synced 2026-10-27 12:30:27 +08:00
server: also listen to ipv6
The [::] address will listen to both ipv4/ipv6 addresses.
This commit is contained in:
1 file changed
+1
-1
@@ -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