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

Dies ist die deutsche mfdoctor-Dokumentation. Technische Bezeichner, CLI-Flags, Regel-IDs und Codebeispiele bleiben unverändert, damit die Inhalte zwischen den Sprachen vollständig kompatibel bleiben. Verwenden Sie den Sprachumschalter für die kanonische englische Fassung.

vite/ignore-origin

  • Kategorie: reliability
  • Standardschweregrad: info

Problem

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

So beheben Sie das Problem

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.

Quellen