this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

refactor matchRemotePattern (#742)

authored by

Victor Berchet and committed by
GitHub
158e20be d8150d20

+1 -5
+1 -5
packages/cloudflare/src/cli/templates/images.ts
··· 94 94 } 95 95 96 96 // Should be the same as writeImagesManifest() 97 - if (!new RegExp(pattern.pathname).test(url.pathname)) { 98 - return false; 99 - } 100 - 101 - return true; 97 + return new RegExp(pattern.pathname).test(url.pathname); 102 98 } 103 99 104 100 export function matchLocalPattern(pattern: LocalPattern, url: URL): boolean {