diff --git a/pyglossary/ui/ui_web/server_ws_http.py b/pyglossary/ui/ui_web/server_ws_http.py index 02007900e..f7f4a5701 100644 --- a/pyglossary/ui/ui_web/server_ws_http.py +++ b/pyglossary/ui/ui_web/server_ws_http.py @@ -434,17 +434,6 @@ def do_GET(self): else: super().do_GET() - def send_page(self, template_path, placeholder, content): - self.send_response(HTTPStatus.OK) - self.send_header("Content-Type", "text/html") - self.end_headers() - page = ( - Path(Path(__file__).parent / template_path) - .read_text(encoding="utf-8") - .replace(placeholder, content) - ) - self.wfile.write(page.encode()) - def send_config(self): self.send_response(HTTPStatus.OK) self.send_header("Content-Type", "application/json")