Skip to content

Commit 9c180e6

Browse files
Release 20250628
1 parent 84ae203 commit 9c180e6

File tree

8 files changed

+9
-2
lines changed

8 files changed

+9
-2
lines changed

hlp-user/Help-cs.zip

86 Bytes
Binary file not shown.

hlp-user/Help-en.zip

84 Bytes
Binary file not shown.

hlp/Help-cs.zip

-167 Bytes
Binary file not shown.

hlp/Help-en.zip

-164 Bytes
Binary file not shown.

hvdata/appmain.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,13 @@ async function newStorageDir(path) {
105105
return path.replace(/\/$/, '');
106106
}
107107
async function search(filePath, format = STOF_TEXT) {
108-
const fpath = `${storageO}/${filePath}`.replace('//', '/');
108+
var fpath = `${storageO}/${filePath}`;
109+
110+
if (fpath.startsWith('http') || fpath.startsWith('ftp'))
111+
fpath = fpath.replace('//', '/');
112+
else
113+
fpath = fpath.replace('//', '/_base/');
114+
109115
const response = await fetchDataOrEmpty(fpath);
110116

111117
switch (format) {

hvdata/data.zip

-2 Bytes
Binary file not shown.

index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
<meta property="og:type" content="website">
1616
<meta property="og:image" content="favicon.png">
1717
<meta name="robots" content="index,follow">
18+
<!-- %NREL% -->
1819
</head>
1920
<script>
2021
if ('serviceWorker' in navigator) {

sw.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
const CACHE_NAME = 'helpviewer-cache-v1';
2-
const CACHE_FILES = [ '/robots.txt','/manifest.webmanifest','/index.html','/hvdata/jszip.min.js','/hvdata/appmain.js','/hvdata/LICENSE-jszip.md','/hvdata/data.zip','/faviconPWA.png','/favicon.png' ];
2+
const CACHE_FILES = [ '/faviconPWA.png','/manifest.webmanifest','/hvdata/jszip.min.js','/hvdata/data.zip','/hvdata/LICENSE-jszip.md','/hvdata/appmain.js','/index.html','/favicon.png','/robots.txt' ];
33

44
self.addEventListener('install', (event) => {
55
event.waitUntil(

0 commit comments

Comments
 (0)