v0.1.7 — Proxy Server & DOM validation Warnings Fixes
rusters-cli v0.1.7
This release introduces Vite local proxy configurations and resolves standard React DOM validator warnings:
Fixes
- Vite local proxy server: Added configuration parameters to
vite.config.tstemplates to proxy/api/*and/_rusters/*routes directly to the backend development server on port 4200. This fixes the unexpectedSyntaxError: Unexpected token '<' (serving index.html instead of backend JSON)errors in local environments. - fetch URL endpoint correction: Updated React
main.tsxtemplate file to request/_rusters/infoinstead of/api/_rusters/info, as the framework built-in route is mapped directly to/_rusters/info. - DOM properties validation: Replaced the native
stroke-widthSVG attribute with React-safe camelCasestrokeWidthrepresentation inside the loading animation block ofmain.tsx.tplto resolve console validation warnings.
Install
cargo install --git https://github.com/untrustnova/rusters-cli --tag v0.1.7