For AI agents: the complete documentation index is available at https://mfdoctor.kevinbeier.com/llms.txt, the full documentation bundle is available at https://mfdoctor.kevinbeier.com/llms-full.txt, and this page is available as Markdown at https://mfdoctor.kevinbeier.com/rules/vite/ignore-origin.md.

vite/ignore-origin

  • Category: reliability
  • Default severity: info

Issue

ignoreOrigin changes proxy entry origin behavior. Without a tested Vite server.origin, remote URLs can resolve against the wrong host.

How to fix it

Set Vite server.origin to the public deployment base you tested, or turn ignoreOrigin off. CLI/config-only analysis without a plugin origin fact stays unknown rather than claiming a pass.

Suppress or retarget with rules["vite/ignore-origin"] set to "off" or a severity, see Suppressions and allowlists.

Sources