We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d674fad commit 4d1dcdaCopy full SHA for 4d1dcda
src/lib/link-parser.ts
@@ -77,7 +77,7 @@ export const isSelfArticleUrl = (url: URL) => {
77
if (isDev && url.hostname === 'innei.in') return true
78
return (
79
url.hostname === location.hostname &&
80
- ['posts/', 'notes/'].some((path) => url.pathname.startsWith(path))
+ ['/posts/', '/notes/'].some((path) => url.pathname.startsWith(path))
81
)
82
}
83
0 commit comments