fix: should allow affine.pro to be embedded (#14285)
This commit is contained in:
@@ -10,7 +10,6 @@ const GENERIC_DEFAULT_HEIGHT_IN_NOTE = 400;
|
|||||||
* These are based on the centralized cloud constants and known AFFiNE domains
|
* These are based on the centralized cloud constants and known AFFiNE domains
|
||||||
*/
|
*/
|
||||||
const AFFINE_DOMAINS = [
|
const AFFINE_DOMAINS = [
|
||||||
'affine.pro', // Main AFFiNE domain
|
|
||||||
'app.affine.pro', // Stable cloud domain
|
'app.affine.pro', // Stable cloud domain
|
||||||
'insider.affine.pro', // Beta/internal cloud domain
|
'insider.affine.pro', // Beta/internal cloud domain
|
||||||
'affine.fail', // Canary cloud domain
|
'affine.fail', // Canary cloud domain
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ import { expect, type Page, test } from '@playwright/test';
|
|||||||
const TEST_SPOTIFY_URL =
|
const TEST_SPOTIFY_URL =
|
||||||
'https://open.spotify.com/episode/7makk4oTQel546B0PZlDM5';
|
'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_IFRAME_BLOCK = 'affine-embed-iframe-block';
|
||||||
const EMBED_EDGELESS_IFRAME_BLOCK = 'affine-embed-edgeless-iframe-block';
|
const EMBED_EDGELESS_IFRAME_BLOCK = 'affine-embed-edgeless-iframe-block';
|
||||||
|
|||||||
Reference in New Issue
Block a user