Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 17 commits into from
Mar 26, 2025

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