Fixed URLs to static resources without cacheids

One (hopefully, last) remaining relative URL to a static resource
is the reference to ./search-icon.svg found in skin/index.css to which
KIWIXCACHEID could not be applied because of the limitations of the
resource preprocessing script `kiwix-resources`.
This commit is contained in:
Veloman Yunkan
2022-10-10 13:37:56 +04:00
parent b62486c2f9
commit 12a638750e
3 changed files with 6 additions and 5 deletions

View File

@ -16,7 +16,7 @@
}
const root = getRootLocation();
const blankPageUrl = `${root}/skin/blank.html`;
const blankPageUrl = root + "/skin/blank.html?KIWIXCACHEID";
if ( location.hash == '' ) {
location.href = root + '/';
@ -58,7 +58,7 @@
<iframe id="content_iframe"
referrerpolicy="same-origin"
onload="on_content_load()"
src="skin/blank.html" title="ZIM content" width="100%"
src="./skin/blank.html?KIWIXCACHEID" title="ZIM content" width="100%"
style="border:0px">
</iframe>