compute note backlinks
This commit is contained in:
4
src/utils/link.ts
Normal file
4
src/utils/link.ts
Normal file
@@ -0,0 +1,4 @@
|
||||
export const LINKS = ['http://', 'https://']
|
||||
|
||||
export const isExternalLink = (href: string) =>
|
||||
LINKS.some((link) => href.startsWith(link))
|
||||
Reference in New Issue
Block a user