fix: Allow CDX file loading (#394)
This commit is contained in:
+2
-2
@@ -295,13 +295,13 @@ export class Chooser extends LitElement {
|
|||||||
type="text"
|
type="text"
|
||||||
name="filename"
|
name="filename"
|
||||||
id="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}"
|
.value="${this.fileDisplayName}"
|
||||||
@input="${this.onInput}"
|
@input="${this.onInput}"
|
||||||
autocomplete="off"
|
autocomplete="off"
|
||||||
placeholder="${this.newFullImport
|
placeholder="${this.newFullImport
|
||||||
? "Click 'Choose File' to select a local archive to import"
|
? "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>
|
</p>
|
||||||
<div class="control">
|
<div class="control">
|
||||||
|
|||||||
Reference in New Issue
Block a user