From 894fdcca475196af26bd3ff3dc8401886e38e271 Mon Sep 17 00:00:00 2001 From: kk8bit Date: Sun, 20 Sep 2026 17:21:28 +0800 Subject: [PATCH] Fix GuLuLu image 404 when install folder casing differs The GuLuLu gif path was hardcoded as /extensions/kaytool/, but ComfyUI serves the web directory under the custom_nodes folder name and aiohttp route matching is case-sensitive. Installs that end up with a KayTool folder (e.g. via ComfyUI-Manager, whose node list points at the capitalized repo URL) got a 404 for the gif. Derive the path from import.meta.url so it resolves correctly whatever the folder is named. --- web/gululu.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/gululu.js b/web/gululu.js index 585d300..8987d35 100644 --- a/web/gululu.js +++ b/web/gululu.js @@ -13,7 +13,7 @@ const KayGuLuLuManager = { pixelCanvas: null, pixelCtx: null, pixelDataCache: null, - imgSrc: "/extensions/kaytool/resources/GuLuLu.gif", + imgSrc: new URL("./resources/GuLuLu.gif", import.meta.url).pathname, effectiveBounds: null, isAnimating: false, animationTimer: null,