From 38e6ae6f3d8831efb0c63c79b91afb144e2d81f5 Mon Sep 17 00:00:00 2001 From: iqubik Date: Sat, 4 Apr 2026 22:05:58 +0300 Subject: [PATCH] Update install-custom.sh --- install-custom.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install-custom.sh b/install-custom.sh index 53785e9..812e1fa 100644 --- a/install-custom.sh +++ b/install-custom.sh @@ -292,9 +292,9 @@ ADMIN_PASS=$(openssl rand -base64 12 | tr -dc 'A-Za-z0-9' | cut -c1-12) # ALLOWED_ORIGINS if [[ "$UI_HOST" =~ ^[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+$ ]]; then - ALLOWED_ORIGINS="http://${UI_HOST}" + ALLOWED_ORIGINS="http://${UI_HOST}:${FINAL_PORT}" else - ALLOWED_ORIGINS="https://${UI_HOST}" + ALLOWED_ORIGINS="https://${UI_HOST}:${FINAL_PORT}" fi log "Сгенерированы секретные ключи для БД и JWT."