mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2025-11-29 02:42:51 +00:00
fix secretwebpath
This commit is contained in:
parent
62fccb7ea5
commit
56109965f4
1 changed files with 2 additions and 2 deletions
|
|
@ -309,10 +309,10 @@
|
||||||
}
|
}
|
||||||
let secretWebPath = this.modal.server.secretWebPath;
|
let secretWebPath = this.modal.server.secretWebPath;
|
||||||
if (!secretWebPath.startsWith('/')) {
|
if (!secretWebPath.startsWith('/')) {
|
||||||
secretWebPath = '/' + secretWebPath.slice(1);
|
secretWebPath = '/' + secretWebPath;
|
||||||
}
|
}
|
||||||
if (!secretWebPath.endsWith('/')) {
|
if (!secretWebPath.endsWith('/')) {
|
||||||
secretWebPath = secretWebPath.slice(0, -1) + '/';
|
secretWebPath = secretWebPath + '/';
|
||||||
}
|
}
|
||||||
console.log(this.modal.server);
|
console.log(this.modal.server);
|
||||||
axios
|
axios
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue