mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 04:18:54 +00:00
fix(electron): center peek for links in electron (#7301)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
function maybeAffineOrigin(origin: string) {
|
||||
return (
|
||||
origin.startsWith('file://.') ||
|
||||
origin.startsWith('file://') ||
|
||||
origin.startsWith('affine://') ||
|
||||
origin.endsWith('affine.pro') || // stable/beta
|
||||
origin.endsWith('affine.fail') || // canary
|
||||
|
||||
Reference in New Issue
Block a user