From e461a6b5c51856a6ee6ee65fa38b5218c7f8a911 Mon Sep 17 00:00:00 2001 From: pewdiepie-archdaemon Date: Mon, 26 Oct 2026 16:29:17 +0000 Subject: [PATCH] Keep chat module URLs consistent across imports and precache --- static/index.html | 4 ++-- static/js/chat.js | 2 +- static/sw.js | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/static/index.html b/static/index.html index 974f049b4..b9e19cc6e 100644 --- a/static/index.html +++ b/static/index.html @@ -2670,7 +2670,7 @@ - + @@ -2687,7 +2687,7 @@ - + diff --git a/static/js/chat.js b/static/js/chat.js index 51a70b573..38243ca1b 100644 --- a/static/js/chat.js +++ b/static/js/chat.js @@ -9,7 +9,7 @@ import Storage from './storage.js'; import uiModule from './ui.js?v=20260916largetoolscroll1'; import sessionModule from './sessions.js'; import chatRenderer, { renderToolIcon } from './chatRenderer.js?v=20260914metricssummary1'; -import chatStream from './chatStream.js?v=20261016tasks1'; +import chatStream from './chatStream.js'; import { addAITTSButton } from './tts-ai.js'; import markdownModule from './markdown.js'; import spinnerModule from './spinner.js'; diff --git a/static/sw.js b/static/sw.js index 1cc5c8a78..4950566ba 100644 --- a/static/sw.js +++ b/static/sw.js @@ -7,7 +7,7 @@ // - Other static assets (images/fonts/libs): cache-first with bg refresh. // - API / non-GET: never cached. // Bump CACHE_NAME whenever the precache list or SW logic changes. -const CACHE_NAME = 'odysseus-v659-notes-reference'; +const CACHE_NAME = 'odysseus-v1113-pr40-editor-precache'; // KaTeX resolves these from its own stylesheet, so caching the CSS without them // gives offline math fallback glyphs instead of proper typesetting. @@ -84,7 +84,7 @@ const PRECACHE = [ '/static/js/gallery.js?v=20260910promptcopy1', '/static/js/chatRenderer.js?v=20260914metricssummary1', '/static/js/codeRunner.js?v=20260831richtexttools91', - '/static/js/chatStream.js?v=20260914pdfstrip1', + '/static/js/chatStream.js', '/static/js/chat.js?v=20260917toolttft1', '/static/js/cookbook.js', '/static/js/search-chat.js',