3x-ui/web
MHSanaei 6bdf4bb4a0
fix(embed): include underscore-prefixed Vite chunks in dist FS
go:embed silently excludes files whose names start with `_` or `.`,
so the `_plugin-vue_export-helper-<hash>.js` chunk that Vite/rolldown
emits for @vitejs/plugin-vue was missing from the production binary.
First import at runtime hit a 404 and the SPA failed to mount — blank
page on every page load, no error in the server logs because the
asset 404 was just a static-handler miss.

Switched the directive to `//go:embed all:dist` which keeps the same
root layout but disables the underscore/dot exclusion rule. Dev mode
was unaffected (it serves dist/assets/ from disk, not the embedded FS).

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-09 16:44:15 +02:00
..
controller feat(stats): system history modal + per-node CPU/Mem trends across all locales 2026-05-09 16:24:57 +02:00
entity feat: add configurable auto-restart on client auto-disable 2026-05-04 23:19:25 +02:00
global Refactor code and fix linter warnings (#3627) 2026-01-05 05:54:56 +01:00
job feat(nodes): multi-node panel orchestration (CRUD, deployment, traffic sync, sub per-node) 2026-05-09 15:25:29 +02:00
locale i18n: collapse two translation databases into a single web/translation/<lang>.json set 2026-05-08 18:05:56 +02:00
middleware feat(nodes): multi-node panel orchestration (CRUD, deployment, traffic sync, sub per-node) 2026-05-09 15:25:29 +02:00
network docs: add comments for all functions 2025-09-20 09:35:50 +02:00
runtime feat(nodes): multi-node panel orchestration (CRUD, deployment, traffic sync, sub per-node) 2026-05-09 15:25:29 +02:00
service feat(stats): system history modal + per-node CPU/Mem trends across all locales 2026-05-09 16:24:57 +02:00
session feat(nodes): multi-node panel orchestration (CRUD, deployment, traffic sync, sub per-node) 2026-05-09 15:25:29 +02:00
translation feat(stats): system history modal + per-node CPU/Mem trends across all locales 2026-05-09 16:24:57 +02:00
websocket ws/inbounds: realtime fixes + perf for 10k+ client inbounds (#4123) 2026-05-05 17:27:49 +02:00
web.go fix(embed): include underscore-prefixed Vite chunks in dist FS 2026-05-09 16:44:15 +02:00