optimized script

This commit is contained in:
Den Piligrim
2026-04-08 00:14:44 +03:00
parent 1c4537c186
commit 4cfd64faa9
9 changed files with 149 additions and 1938 deletions
+1 -1
View File
@@ -55,7 +55,7 @@ export class TunnelsService {
`Начинаем установку редиректа на ${tunnel.ip} -> ${mainServerIp}`,
);
const command = `export ORIGIN_IP="${mainServerIp}" && bash <(curl -fsSL https://raw.githubusercontent.com/denpiligrim/3dp-manager/main/forwarding_install.sh)`;
const command = `sudo ORIGIN_IP="${mainServerIp}" bash -c "$(curl -sSL https://raw.githubusercontent.com/denpiligrim/3dp-manager/main/forwarding_install.sh)"`;
try {
const output = await this.sshService.executeCommand(