Префикс "file://" заменен на "disk://", т.к. порождается конфликт с браузерным протоколом file://

This commit is contained in:
Book Pauk
2020-12-02 22:01:36 +07:00
parent b2d6584c4a
commit c59f48822c
6 changed files with 43 additions and 9 deletions

View File

@@ -296,7 +296,7 @@ class RecentBooksPage extends Vue {
isUrl(url) {
if (url)
return (url.indexOf('file://') != 0);
return (url.indexOf('disk://') != 0);
else
return false;
}