From 151bf69e1da40a40f242ae32f538a3d844469eec Mon Sep 17 00:00:00 2001 From: remittor Date: Mon, 1 Dec 2025 13:22:46 +0300 Subject: [PATCH] connect7: Fix path for certfile --- connect7.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/connect7.py b/connect7.py index dc62c54..41c55ea 100644 --- a/connect7.py +++ b/connect7.py @@ -123,8 +123,8 @@ class XmirHttpServer(HTTPServer): def server_bind(self): import ssl root_dir = os.path.dirname(os.path.abspath(__file__)) - certfile = f'{root_dir}\\data\\https\\cert.crt' - keyfile = f'{root_dir}\\data\\https\\cert.key' + certfile = f'{root_dir}/data/https/cert.crt' + keyfile = f'{root_dir}/data/https/cert.key' ctx = ssl.SSLContext(ssl.PROTOCOL_TLS_SERVER) ctx.check_hostname = False ctx.verify_mode = ssl.CERT_OPTIONAL