Add pattern to file chooser for ssb urls (#103)

* add pattern to chooser to match ssb:// urls
* also gitignore ipfs bundle
This commit is contained in:
av8ta
2022-06-15 11:42:50 -07:00
committed by GitHub
parent e1e2087578
commit 9e75593429
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -194,7 +194,7 @@ class Chooser extends LitElement
<p class="control is-expanded">
<input class="file-name input" type="text"
name="filename" id="filename"
pattern="((file|http|https|ipfs|s3):\/\/.*\.(warc|warc.gz|zip|wacz|har|wbn|json))|(googledrive:\/\/.+)"
pattern="((file|http|https|ipfs|s3):\/\/.*\.(warc|warc.gz|zip|wacz|har|wbn|json))|(googledrive:\/\/.+)|(ssb:\/\/.+)"
.value="${this.fileDisplayName}"
@input="${this.onInput}"
autocomplete="off"