fix: Allow CDX file loading

This commit is contained in:
Henry Wilkinson
2025-01-15 14:54:31 -05:00
parent 6f495c94f9
commit 4059f6258d
+1 -1
View File
@@ -295,7 +295,7 @@ export class Chooser extends LitElement {
type="text"
name="filename"
id="filename"
pattern="((file|http|https|ipfs|s3)://.*.(warc|warc.gz|zip|wacz|har|json)([?#].*)?)|(googledrive://.+)|(ssb://.+)"
pattern="((file|http|https|ipfs|s3)://.*.(warc|warc.gz|zip|wacz|har|json|cdx)([?#].*)?)|(googledrive://.+)|(ssb://.+)"
.value="${this.fileDisplayName}"
@input="${this.onInput}"
autocomplete="off"