From 5a1364a892f959dcd7effdf66ce3221df3084e77 Mon Sep 17 00:00:00 2001 From: Kierre Date: Sat, 8 Nov 2025 20:21:59 -0500 Subject: [PATCH] Allow setting the listen address --- config-example.toml | 1 + index.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/config-example.toml b/config-example.toml index 5404c55..2366be2 100644 --- a/config-example.toml +++ b/config-example.toml @@ -1,5 +1,6 @@ [frontend] port = 4200 +address = "::" name = "velping" pings = 25 diff --git a/index.py b/index.py index 2818533..7d5a0b7 100644 --- a/index.py +++ b/index.py @@ -181,5 +181,5 @@ def root(): app.run( port=config["frontend"]["port"], - host="::", + host=config["frontend"]["address"], )