Skip to content

Commit a5cd191

Browse files
committed
fix: move ai-worker-gemma4.js to public/ — 404 on production Vite build
All other AI workers (ai-worker.js, ai-worker-docling.js, etc.) are in public/ so Vite copies them into dist/ during the production build. ai-worker-gemma4.js was placed at the repo root — works on localhost (Vite dev serves all root files) but returns 404 on textagent.github.io because the built dist/ doesn't include it.
1 parent 37d59a0 commit a5cd191

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Fix: Move ai-worker-gemma4.js to public/
2+
3+
All other AI workers live in public/ so Vite copies them to dist/ for production.
4+
ai-worker-gemma4.js was mistakenly created at the repo root — works on localhost
5+
(Vite dev serves root files) but 404s on production GitHub Pages build.

0 commit comments

Comments
 (0)