feat(embeds): add embed.classroomio.com public widget host

Serve widgets from short public URLs via tenant-router with R2-backed
assets and runtime API_URL injection, so copy-paste snippets hide infra
paths. Update widget payloads, CSP, upload purge URLs, and dev-only API
inject; document format/stage workflow in AGENTS.md and fix ui-prefix-check
YAML syntax.
This commit is contained in:
Rotimi Best
2026-06-12 02:06:37 +01:00
parent c868b2f23f
commit 367ddcddd7
23 changed files with 399 additions and 62 deletions
@@ -13,6 +13,8 @@ export const blockedSubdomain = [
'courses',
'demo',
'dev',
'embed',
'embeds',
'forum',
'group',
'groups',
@@ -5,6 +5,7 @@
const saasDefaults = {
scriptSrc: [
'https://assets.cdn.clsrio.com',
'https://embed.classroomio.com',
'https://cdnjs.cloudflare.com',
'https://*.posthog.com',
'https://*.senja.io',