diff --git a/plugins/bioengine-test-run.imjoy.html b/plugins/bioengine-test-run.imjoy.html
index 919372e7..79d82cbb 100644
--- a/plugins/bioengine-test-run.imjoy.html
+++ b/plugins/bioengine-test-run.imjoy.html
@@ -574,7 +574,8 @@
self.set_output(image)
async def load_image_from_url(self, url, to="input"):
- file_name = url.split("?")[0].rstrip('/').split("/")[-1]
+ base_url = url.split("?")[0].rstrip('/')
+ file_name = base_url.split("/")[-2] if base_url.endswith("/content") else base_url.split("/")[-1]
await api.log(file_name)
bytes_ = await fetch_file_content(url)
await self.load_image_from_bytes(file_name, bytes_, to=to)
diff --git a/precache-manifest.39b58eefafbee8b8ae33e4f2d32ac5ab.js b/precache-manifest.e547bb22fbfd45d13a0d949649c6d0a8.js
similarity index 99%
rename from precache-manifest.39b58eefafbee8b8ae33e4f2d32ac5ab.js
rename to precache-manifest.e547bb22fbfd45d13a0d949649c6d0a8.js
index ff99e72d..6aa86c4b 100644
--- a/precache-manifest.39b58eefafbee8b8ae33e4f2d32ac5ab.js
+++ b/precache-manifest.e547bb22fbfd45d13a0d949649c6d0a8.js
@@ -56,7 +56,7 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([
"url": "/manifest.json"
},
{
- "revision": "299832c994e8e938780cef41d83fcca4",
+ "revision": "3168003bc83e2b1cb5a634333695d69d",
"url": "/plugins/bioengine-test-run.imjoy.html"
},
{
diff --git a/service-worker.js b/service-worker.js
index 2c17cd28..a2096572 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.39b58eefafbee8b8ae33e4f2d32ac5ab.js"
+ "/precache-manifest.e547bb22fbfd45d13a0d949649c6d0a8.js"
);
workbox.core.setCacheNameDetails({prefix: "bioimage"});