mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Add The Verge to JS-less handlers
This commit is contained in:
parent
685f5421c3
commit
be7102bab1
1 changed files with 6 additions and 1 deletions
|
|
@ -10,7 +10,12 @@ export class RawContentHandler extends ContentHandler {
|
|||
|
||||
shouldPreHandle(url: string): boolean {
|
||||
const u = new URL(url)
|
||||
const hostnames = ['medium.com', 'fastcompany.com', 'fortelabs.com']
|
||||
const hostnames = [
|
||||
'medium.com',
|
||||
'fastcompany.com',
|
||||
'fortelabs.com',
|
||||
'theverge.com',
|
||||
]
|
||||
|
||||
return hostnames.some((h) => u.hostname.endsWith(h))
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue