Skip to content

Commit 3ae8cca

Browse files
committed
add old.typecell.org exception
1 parent 57695b8 commit 3ae8cca

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/editor/src/config/security.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,9 @@ export function validateHostDomain() {
2828
return hostname.match(/^typecell-next-[A-z0-9-]+-yousefed.vercel.app$/);
2929
}
3030
return (
31-
hostname === "notebooks.typecell.org" || hostname === "www.typecell.org"
31+
hostname === "notebooks.typecell.org" ||
32+
hostname === "www.typecell.org" ||
33+
hostname === "old.typecell.org"
3234
);
3335
}
3436

0 commit comments

Comments
 (0)