You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Docs: frontend_path is applied only to assets referenced through rx.asset(); a literal src="/..." silently 404s #7261
Under frontend_path="/app", rx.image(src="/components/logo.svg") requests /components/logo.svg (404, the only 4xx of the run) while /app/components/logo.svg serves 200. This is by design: rx.asset() applies the prefix (AssetPathStr.__new__ → prepend_frontend_path, reflex/assets.py:95), and a literal src string is indistinguishable from an external or CDN URL, so it cannot be rewritten at compile time. Identical on 0.9.11.post1.
What is missing is the documentation. Nothing under docs/ mentions frontend_path together with assets, so adding frontend_path to an existing app silently breaks every literal-src image with no error anywhere but the network tab.
Ask: a note on the frontend_path config page and on the assets page saying that asset paths must go through rx.asset() (or be written with the prefix) when frontend_path is set.
Evidence: 0.9.12a1 pre-release QA FINDING-021 (refuted as a defect, kept as a docs task) in build_prod_export/ and FINDINGS.md.
Activity
linear-code commentedon Sep 22, 2026
ENG-12655