Fix Dokploy deploy to match agencja-ai runtime clone pattern.

Revert compose to public git clone with env-based HTML generation, allow inline scripts in CSP for YouTube player, and use window.location.origin for embed origin.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-06-27 17:25:28 +02:00
parent f4775366ef
commit b8bb8eecd2
6 changed files with 76 additions and 51 deletions
+1 -2
View File
@@ -168,7 +168,6 @@
redirectEnabled: ${POST_VIDEO_REDIRECT_ENABLED_VERTICAL_JS}
}
};
const SITE_ORIGIN = '${SITE_BASE_URL}';
let player;
let activeFormat;
let activeConfig;
@@ -290,7 +289,7 @@
disablekb: 1,
iv_load_policy: 3,
cc_load_policy: 0,
origin: SITE_ORIGIN.replace(/\/$/, '')
origin: window.location.origin
},
events: {
onReady: onPlayerReady,