fix(route): update path exclusion rules in webui_dev.yml

Add exclusion for all paths under /src/* and modify the websocket protocol header to 'vite-hmr' for improved compatibility with development environments.
This commit is contained in:
yusing
2026-03-21 10:28:48 +08:00
parent 213e4a5cdb
commit 11e3a9231f

View File

@@ -6,9 +6,10 @@
!path glob("/@tanstack-start/*")
!path glob("/@vite-plugin-pwa/*")
!path glob("/__tsd/*")
!path glob("/src/*")
!path /@react-refresh
!path /@vite/client
!path regex("/\?token=[a-zA-Z0-9-_]+")
!header Sec-Websocket-Protocol vite-hmr
!path glob("/@id/*")
!path glob("/api/v1/auth/*")
!path glob("/auth/*")