mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2025-12-26 19:01:28 +08:00
Updated the Vite config to copy sw_template.js to the static assets during build. Modified backend to load sw_template.js from the static directory if available, falling back to the source assets if not. This ensures the service worker template is correctly served in production builds. |
||
|---|---|---|
| .. | ||
| base.ts | ||
| napcat.ts | ||
| package.json | ||
| pipe.ts | ||
| tsconfig.json | ||
| vite.config.ts | ||