Fix basePath in subscription link

This commit is contained in:
Alireza Ahmadi
2023-04-11 03:32:37 +02:00
parent 4b05c333ca
commit 3a002c886d

View File

@@ -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/"