Skip to content

Fix trailing slash error in Fear & Greed API path#756

Merged
jamespepper81 merged 2 commits into
mainfrom
dev
May 28, 2026
Merged

Fix trailing slash error in Fear & Greed API path#756
jamespepper81 merged 2 commits into
mainfrom
dev

Conversation

@jamespepper81
Copy link
Copy Markdown
Contributor

No description provided.

claude and others added 2 commits May 28, 2026 22:41
The Fear & Greed Index request used the path '/fng/' with a trailing
slash. sanitizeProviderPathname() in blockchain-api.ts rejects empty
path segments, so the trailing slash threw 'Disallowed provider URL
path.' Since all four market provider calls run in a single Promise.all,
this rejection failed the entire Market page.

Drop the trailing slash; api.alternative.me/fng?limit=1 returns the same
payload.
@jamespepper81 jamespepper81 merged commit 04e8d08 into main May 28, 2026
8 checks 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.

2 participants