Skip to content

fix(api): serve root-level static files from the Vite build - #62

Merged
AhmadHammad21 merged 1 commit into
mainfrom
feat/brand-redesign
Jun 6, 2026
Merged

fix(api): serve root-level static files from the Vite build#62
AhmadHammad21 merged 1 commit into
mainfrom
feat/brand-redesign

Conversation

@AhmadHammad21

Copy link
Copy Markdown
Owner

The SPA catch-all returned index.html for every non-/assets path, so root-level public files (favicon.svg, Emblem.svg, brand-mark.svg) came back as HTML and rendered as broken images. Serve real files from the dist root before the index.html fallback.

The SPA catch-all returned index.html for every non-/assets path, so root-level public files (favicon.svg, Emblem.svg, brand-mark.svg) came back as HTML and rendered as broken images. Serve real files from the dist root before the index.html fallback.
@AhmadHammad21
AhmadHammad21 merged commit 4431bc0 into main Jun 6, 2026
2 checks passed
@AhmadHammad21
AhmadHammad21 deleted the feat/brand-redesign branch June 6, 2026 23:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant