feat(cdn): integrate CDN Manager into the application
quality / commitlint (push) Skipped
quality / changes (push) Successful in 5s
quality / docker-check (push) Skipped
quality / web (push) Successful in 57s
quality / api (push) Failing after 30s
CD / quality (push) Failing after 1m36s
CD / publish (push) Skipped

- Updated environment configurations to include CDN Manager in the RETURN_TO_ALLOWLIST.
- Enhanced target app resolution to recognize CDN-related hosts.
- Added CDN Manager to the application switcher and updated relevant documentation.
- Included tests to verify the correct mapping of CDN hosts.

Co-authored-by: Cursor <[email protected]>
This commit is contained in:
Denozordec
2026-09-04 14:11:34 +07:00
co-authored by Cursor
parent a591d12c69
commit 0f1f89776b
15 changed files with 191 additions and 9 deletions
+3 -2
View File
@@ -16,7 +16,7 @@ ADMIN_PASSWORD=admin
ADMIN_NAME=Admin
# Allowed return_to hosts (comma-separated), e.g. .shnt.top or full origins
RETURN_TO_ALLOWLIST=.shnt.top,localhost,private,http://localhost:5173,http://localhost:5174
RETURN_TO_ALLOWLIST=.shnt.top,localhost,private,http://localhost:5173,http://localhost:5174,http://localhost:5176
# ReUI PRO (apps/web/components.json → @reui Authorization)
# Ключ: https://reui.io/docs/license-setup — класть в apps/web/.env.local (gitignored)
@@ -24,7 +24,8 @@ REUI_LICENSE_KEY=
# Local app URLs for SSO Open (apps/web/.env.local)
# VITE_VPS_APP_URL=http://localhost:5173
# VITE_RETURN_TO_ALLOWLIST=.shnt.top,localhost,http://localhost:5173
# VITE_CDN_APP_URL=http://localhost:5176
# VITE_RETURN_TO_ALLOWLIST=.shnt.top,localhost,http://localhost:5173,http://localhost:5176
# Server
SERVER_PORT=8080