From 3a002c886d089073e18b149dda61f66ea561df23 Mon Sep 17 00:00:00 2001 From: Alireza Ahmadi Date: Tue, 11 Apr 2023 03:32:37 +0200 Subject: [PATCH] Fix basePath in subscription link --- web/html/xui/inbound_info_modal.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/html/xui/inbound_info_modal.html b/web/html/xui/inbound_info_modal.html index 1ba15b08..1b05a12c 100644 --- a/web/html/xui/inbound_info_modal.html +++ b/web/html/xui/inbound_info_modal.html @@ -240,7 +240,7 @@ return infoModal.dbInbound.isEnable; }, get subBase() { - return window.location.protocol + "//" + window.location.hostname + (window.location.port ? ":" + window.location.port:"") + "/sub/"; + return window.location.protocol + "//" + window.location.hostname + (window.location.port ? ":" + window.location.port:"") + basePath + "sub/"; }, get tgBase() { return "https://t.me/"