diff --git a/.python-version b/.python-version index 143c2f5..371cfe3 100644 --- a/.python-version +++ b/.python-version @@ -1 +1 @@ -3.8.19 +3.11.1 diff --git a/pyproject.toml b/pyproject.toml index 9462447..056393b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "textual-serve" -version = "1.1.0" +version = "1.1.1" description = "Turn your Textual TUIs in to web applications" authors = [ { name = "Will McGugan", email = "will@textualize.io" } diff --git a/src/textual_serve/server.py b/src/textual_serve/server.py index de55d28..b818790 100644 --- a/src/textual_serve/server.py +++ b/src/textual_serve/server.py @@ -265,7 +265,7 @@ class Server: } context["config"] = { "static": { - "url": get_url("static", filename="/") + "/", + "url": get_url("static", filename="/").rstrip("/") + "/", }, } context["application"] = {