Skip to content

fix: analyze page fails with "Invalid URL" on all deployments - #118

Merged
androemeda merged 1 commit into
mainfrom
fix/analyze-relative-api-url
Sep 8, 2026
Merged

androemeda merged 1 commit into
mainfrom
fix/analyze-relative-api-url

Conversation

@androemeda

Copy link
Copy Markdown
Collaborator

/analyze/[id] used new URL(), which throws on the relative NEXT_PUBLIC_API_URL=/api used by every deployment — so the request never fired. Now builds the query string with URLSearchParams, working with relative and absolute bases alike.

Also adds the missing public/placeholder.svg (referenced by 3 components, never committed) — unrelated and cosmetic.

@androemeda
androemeda merged commit e388aae into main Sep 8, 2026
1 check passed
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