diff --git a/app/builtin-pages/views/library-view.js b/app/builtin-pages/views/library-view.js index c423b6583a..109a46ea0f 100644 --- a/app/builtin-pages/views/library-view.js +++ b/app/builtin-pages/views/library-view.js @@ -80,7 +80,7 @@ async function setup () { window.OS_CAN_IMPORT_FOLDERS_AND_FILES = browserInfo.platform !== 'linux' // load data - let url = window.location.pathname.slice(1) + let url = await parseLibraryUrl() archive = new LibraryDatArchive(url) await archive.setup() @@ -296,38 +296,51 @@ async function loadReadme () { // = function render () { - yo.update( - document.querySelector('.library-wrapper'), yo` -
- Dropped files will be published directly to - ${shortenHash(archive.url)} -
-+ Dropped files will be published directly to + ${shortenHash(archive.url)} +
+