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:
+1
-2
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user