diff options
Diffstat (limited to 'package_abridge.js')
| -rw-r--r-- | package_abridge.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/package_abridge.js b/package_abridge.js index cd9d331..20866dc 100644 --- a/package_abridge.js +++ b/package_abridge.js @@ -153,6 +153,7 @@ async function abridge() { if (!fs.lstatSync(path+file).isDirectory()) { // format output item = "/"+file.replace(/index\.html$/i,'');// strip index.html from path + item = item.replace(/\\/g,'/');// replace backslash with forward slash for Windows item = item.replace(/^\/sw(\.min)?\.js/i,'');// dont cache service worker // if formatted output is not empty line then append it to cache var |
