Skip to content

fix: The proxy URL is being altered in version 2.20.4, resulting in invalid URL#1058

Merged
wenxi-zeng merged 17 commits intomasterfrom
proxy-url-fix
Mar 26, 2025
Merged

fix: The proxy URL is being altered in version 2.20.4, resulting in invalid URL#1058
wenxi-zeng merged 17 commits intomasterfrom
proxy-url-fix

Conversation

@sunitaprajapati89
Copy link
Contributor

fix: The proxy URL is being altered in version 2.20.4, resulting in invalid URL

return getURL(baseURL, endpoint);
} catch (error) {
console.error('Error in getEndpoint:', error);
throw new Error('Invalid proxy url has been passed');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no need to throw error

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

in case of not throwing error, then should return default value

@wenxi-zeng wenxi-zeng merged commit 26fc5d6 into master Mar 26, 2025
7 checks passed
@wenxi-zeng wenxi-zeng deleted the proxy-url-fix branch March 26, 2025 15:47
@alanjcharles
Copy link
Contributor

🎉 This PR is included in version 2.20.5 🎉

The release is available on npm package (@latest dist-tag)

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants