Commit 62136200 authored by Richard Bowman's avatar Richard Bowman 🔬
Browse files

Enable ipv6

Setting the listen address to :: puts flask into ipv6 mode.
This makes it compatible with ipv6 and, thanks
to the system automatically translating ipv4
into ipv6, it is completely compatible with ipv4
as well.
parent bcd6f426
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -175,4 +175,4 @@ if __name__ == "__main__":
    from labthings.server.wsgi import Server

    server = Server(app)
    server.run(host="0.0.0.0", port=5000, debug=False, zeroconf=True)
    server.run(host="::", port=5000, debug=False, zeroconf=True)