From 56109965f43c66a94ac9984b73d6f928214e1357 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=94=D0=BC=D0=B8=D1=82=D1=80=D0=B8=D0=B9=20=D0=A1=D0=B0?= =?UTF-8?q?=D0=B5=D0=BD=D0=BA=D0=BE?= Date: Thu, 23 Oct 2025 14:14:45 +0300 Subject: [PATCH] fix secretwebpath --- web/html/servers.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/html/servers.html b/web/html/servers.html index bfc35638..dd1882d3 100644 --- a/web/html/servers.html +++ b/web/html/servers.html @@ -309,10 +309,10 @@ } let secretWebPath = this.modal.server.secretWebPath; if (!secretWebPath.startsWith('/')) { - secretWebPath = '/' + secretWebPath.slice(1); + secretWebPath = '/' + secretWebPath; } if (!secretWebPath.endsWith('/')) { - secretWebPath = secretWebPath.slice(0, -1) + '/'; + secretWebPath = secretWebPath + '/'; } console.log(this.modal.server); axios