-
Notifications
You must be signed in to change notification settings - Fork 197
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
Conversation
return getURL(baseURL, endpoint); | ||
} catch (error) { | ||
console.error('Error in getEndpoint:', error); | ||
throw new Error('Invalid proxy url has been passed'); |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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
…oints() & getEndpointForSettings()
🎉 This PR is included in version 2.20.5 🎉 The release is available on npm package (@latest dist-tag) Your semantic-release bot 📦🚀 |
fix: The proxy URL is being altered in version 2.20.4, resulting in invalid URL