Listen on IPv6 host by default

This commit is contained in:
Nico Schottelius 2020-08-02 16:24:41 +02:00
parent 626490133e
commit 182e13863c

View file

@ -65,4 +65,4 @@ if __name__ == '__main__':
mystrom = MyStrom(args.device) mystrom = MyStrom(args.device)
app = web.Application() app = web.Application()
app.add_routes([web.get('/metrics', mystrom.get)]) app.add_routes([web.get('/metrics', mystrom.get)])
web.run_app(app) web.run_app(app, host='::')