Skip to content

v0.1.7 — Proxy Server & DOM validation Warnings Fixes

Choose a tag to compare

@AndraZero121 AndraZero121 released this 01 Jul 12:22

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.ts templates to proxy /api/* and /_rusters/* routes directly to the backend development server on port 4200. This fixes the unexpected SyntaxError: Unexpected token '<' (serving index.html instead of backend JSON) errors in local environments.
  • fetch URL endpoint correction: Updated React main.tsx template file to request /_rusters/info instead of /api/_rusters/info, as the framework built-in route is mapped directly to /_rusters/info.
  • DOM properties validation: Replaced the native stroke-width SVG attribute with React-safe camelCase strokeWidth representation inside the loading animation block of main.tsx.tpl to resolve console validation warnings.

Install

cargo install --git https://github.com/untrustnova/rusters-cli --tag v0.1.7