Skip to content

Commit

Permalink
enh(Caching): Add edge:// to supported schemes
Browse files Browse the repository at this point in the history
see #1618

Signed-off-by: Marcel Klehr <[email protected]>
  • Loading branch information
marcelklehr committed Dec 21, 2024
1 parent 8954f04 commit f4de82c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/adapters/Caching.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export default class CachingAdapter implements Adapter, BulkImportResource<TItem
return false
}
try {
return Boolean(['https:', 'http:', 'ftp:', 'data:', 'javascript:', 'chrome:', 'file:'].includes(
return Boolean(['https:', 'http:', 'ftp:', 'data:', 'javascript:', 'file:', 'chrome:', 'edge:'].includes(
new URL(bm.url).protocol
))
} catch (e) {
Expand Down

0 comments on commit f4de82c

Please sign in to comment.