Bump patch version
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
[tool.poetry]
|
[tool.poetry]
|
||||||
name = "textual-webterm"
|
name = "textual-webterm"
|
||||||
version = "0.3.17"
|
version = "0.3.18"
|
||||||
description = "Serve terminal sessions over the web"
|
description = "Serve terminal sessions over the web"
|
||||||
authors = ["Will McGugan <will@textualize.io>"]
|
authors = ["Will McGugan <will@textualize.io>"]
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
|
|||||||
@@ -587,7 +587,7 @@ class LocalServer:
|
|||||||
except asyncio.TimeoutError:
|
except asyncio.TimeoutError:
|
||||||
# Send keepalive comment
|
# Send keepalive comment
|
||||||
await response.write(b": keepalive\n\n")
|
await response.write(b": keepalive\n\n")
|
||||||
except (ConnectionResetError, ConnectionAbortedError):
|
except (ConnectionResetError, ConnectionAbortedError, aiohttp.ClientConnectionError):
|
||||||
break
|
break
|
||||||
finally:
|
finally:
|
||||||
self._sse_subscribers.remove(queue)
|
self._sse_subscribers.remove(queue)
|
||||||
@@ -855,7 +855,7 @@ class LocalServer:
|
|||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id=\"terminal\" class=\"textual-terminal\" data-session-websocket-url=\"{ws_url}\" data-font-size=\"16\" data-scrollback=\"1000\"></div>
|
<div id=\"terminal\" class=\"textual-terminal\" data-session-websocket-url=\"{ws_url}\" data-font-size=\"16\" data-scrollback=\"1000\"></div>
|
||||||
<script src=\"/static/js/terminal.js\"></script>
|
<script type=\"module\" src=\"/static/js/terminal.js\"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>"""
|
</html>"""
|
||||||
return web.Response(text=html_content, content_type="text/html")
|
return web.Response(text=html_content, content_type="text/html")
|
||||||
|
|||||||
Reference in New Issue
Block a user