fix: Allow CDX file loading (#394)
This commit is contained in:
+2
-2
@@ -295,13 +295,13 @@ 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|cdxj)([?#].*)?)|(googledrive://.+)|(ssb://.+)"
|
||||
.value="${this.fileDisplayName}"
|
||||
@input="${this.onInput}"
|
||||
autocomplete="off"
|
||||
placeholder="${this.newFullImport
|
||||
? "Click 'Choose File' to select a local archive to import"
|
||||
: "Enter a URL or click 'Choose File' to select a WARC, WACZ, or HAR file"}"
|
||||
: "Enter a URL or click 'Choose File' to select a WARC, WACZ, CDX, or HAR file"}"
|
||||
/>
|
||||
</p>
|
||||
<div class="control">
|
||||
|
||||
Reference in New Issue
Block a user