Skip to content

Commit 6d13319

Browse files
committed
fix slash issue
1 parent 3ddc373 commit 6d13319

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.python-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.8.19
1+
3.11.1

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "textual-serve"
3-
version = "1.1.0"
3+
version = "1.1.1"
44
description = "Turn your Textual TUIs in to web applications"
55
authors = [
66
{ name = "Will McGugan", email = "[email protected]" }

src/textual_serve/server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ def get_websocket_url(route: str, **args) -> str:
265265
}
266266
context["config"] = {
267267
"static": {
268-
"url": get_url("static", filename="/") + "/",
268+
"url": get_url("static", filename="/").rstrip("/") + "/",
269269
},
270270
}
271271
context["application"] = {

0 commit comments

Comments
 (0)