From c17ec563c33b76ec0885ab593ccfb2a4e09e5379 Mon Sep 17 00:00:00 2001 From: oeway Date: Mon, 20 May 2024 20:02:40 +0000 Subject: [PATCH] Deploy to GitHub Pages 1f0f27a3c09d9d7052105ee197f0e283b8e4b7ac --- chat/index.html | 4 ++-- ...s => precache-manifest.340b17c5257e5b969ebf0a62d772528b.js | 2 +- service-worker.js | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) rename precache-manifest.8dc6173002d60d08d092b5ec4cd9dc4a.js => precache-manifest.340b17c5257e5b969ebf0a62d772528b.js (99%) diff --git a/chat/index.html b/chat/index.html index 7ba0f73c..373190e3 100644 --- a/chat/index.html +++ b/chat/index.html @@ -1047,7 +1047,7 @@

Welcome to BioImage.IO Chatbot

` // show mount button workerManager.createWorker().then(async w => { - $('#mount-folder-btn').show(); + if (window.showOpenFilePicker) $('#mount-folder-btn').show(); if (mountedFolder) { await worker.mount("/mnt", mountedFolder); $('#mount-folder-btn').text(`Mount Files (${mountedFolder.name})`); @@ -1178,7 +1178,7 @@

Welcome to BioImage.IO Chatbot

} }); $('.spinner').remove(); - $('#mount-folder-btn').show(); + if (window.showOpenFilePicker) $('#mount-folder-btn').show(); // empty termina first $('#terminal').terminal(async function (command, term) { if (command.trim() === "") { diff --git a/precache-manifest.8dc6173002d60d08d092b5ec4cd9dc4a.js b/precache-manifest.340b17c5257e5b969ebf0a62d772528b.js similarity index 99% rename from precache-manifest.8dc6173002d60d08d092b5ec4cd9dc4a.js rename to precache-manifest.340b17c5257e5b969ebf0a62d772528b.js index 828aeb9f..86d4c1b8 100644 --- a/precache-manifest.8dc6173002d60d08d092b5ec4cd9dc4a.js +++ b/precache-manifest.340b17c5257e5b969ebf0a62d772528b.js @@ -12,7 +12,7 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([ "url": "/chat/imagej-js-extension.imjoy.html" }, { - "revision": "9e82f0789a8fe8f4a9c6188124abede7", + "revision": "abc8ff6cfac879cc2ed28d950f1fbdec", "url": "/chat/index.html" }, { diff --git a/service-worker.js b/service-worker.js index e5930853..5f278943 100644 --- a/service-worker.js +++ b/service-worker.js @@ -14,7 +14,7 @@ importScripts("https://storage.googleapis.com/workbox-cdn/releases/4.3.1/workbox-sw.js"); importScripts( - "/precache-manifest.8dc6173002d60d08d092b5ec4cd9dc4a.js" + "/precache-manifest.340b17c5257e5b969ebf0a62d772528b.js" ); workbox.core.setCacheNameDetails({prefix: "bioimage"});