From be7102bab158567ed27631bda5be426243def8bf Mon Sep 17 00:00:00 2001 From: Thomas Rogers Date: Thu, 28 Nov 2024 15:08:23 +0100 Subject: [PATCH] Add The Verge to JS-less handlers --- packages/content-handler/src/websites/raw-handler.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/packages/content-handler/src/websites/raw-handler.ts b/packages/content-handler/src/websites/raw-handler.ts index bcbd6a10f..fb98decbc 100644 --- a/packages/content-handler/src/websites/raw-handler.ts +++ b/packages/content-handler/src/websites/raw-handler.ts @@ -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)) }