Skip to content

Add fallback search API when npms.io is down#966

Open
Greal-dev wants to merge 1 commit intopastelsky:bundlephobiafrom
Greal-dev:fix/issue-961-add-fallback-search-api-when-npms-io-is
Open

Add fallback search API when npms.io is down#966
Greal-dev wants to merge 1 commit intopastelsky:bundlephobiafrom
Greal-dev:fix/issue-961-add-fallback-search-api-when-npms-io-is

Conversation

@Greal-dev
Copy link

npms.io has been unreliable/down causing the autocomplete search to fail entirely. This change adds a fallback to the npm registry search API (/-/search) when the npms.io request fails, so suggestions still work even when npms.io is unavailable.

Addresses #961.

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