fix: should allow affine.pro to be embedded (#14285)

This commit is contained in:
Peng Xiao
2026-01-20 23:33:28 +08:00
committed by GitHub
parent 94431df236
commit 056f2c1161
2 changed files with 1 additions and 2 deletions

View File

@@ -10,7 +10,6 @@ const GENERIC_DEFAULT_HEIGHT_IN_NOTE = 400;
* These are based on the centralized cloud constants and known AFFiNE domains
*/
const AFFINE_DOMAINS = [
'affine.pro', // Main AFFiNE domain
'app.affine.pro', // Stable cloud domain
'insider.affine.pro', // Beta/internal cloud domain
'affine.fail', // Canary cloud domain

View File

@@ -14,7 +14,7 @@ import { expect, type Page, test } from '@playwright/test';
const TEST_SPOTIFY_URL =
'https://open.spotify.com/episode/7makk4oTQel546B0PZlDM5';
const TEST_AFFINE_URL = 'https://affine.pro/';
const TEST_AFFINE_URL = 'https://app.affine.pro/';
const EMBED_IFRAME_BLOCK = 'affine-embed-iframe-block';
const EMBED_EDGELESS_IFRAME_BLOCK = 'affine-embed-edgeless-iframe-block';