Skip to content

Commit

Permalink
fix(electron): center peek for links in electron (#7301)
Browse files Browse the repository at this point in the history
  • Loading branch information
pengx17 committed Jun 21, 2024
1 parent 6865a52 commit 2482c3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/frontend/core/src/modules/navigation/utils.ts
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 2482c3c

Please sign in to comment.