mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-09-11 11:47:00 +03:00
fix(electron): center peek for links in electron (#7301)
This commit is contained in:
parent
6865a52172
commit
2482c3c266
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user