Skip to content

Commit f4de82c

Browse files
committed
enh(Caching): Add edge:// to supported schemes
see #1618 Signed-off-by: Marcel Klehr <mklehr@gmx.net>
1 parent 8954f04 commit f4de82c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/adapters/Caching.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export default class CachingAdapter implements Adapter, BulkImportResource<TItem
4343
return false
4444
}
4545
try {
46-
return Boolean(['https:', 'http:', 'ftp:', 'data:', 'javascript:', 'chrome:', 'file:'].includes(
46+
return Boolean(['https:', 'http:', 'ftp:', 'data:', 'javascript:', 'file:', 'chrome:', 'edge:'].includes(
4747
new URL(bm.url).protocol
4848
))
4949
} catch (e) {

0 commit comments

Comments
 (0)