Skip to content

Conversation

@HappyBerrysBoy
Copy link

  • Add Component in the setting page
  • Add RPC Node List in the default.json
  • Change api endpoint for loading posting/comments

@HappyBerrysBoy HappyBerrysBoy marked this pull request as draft April 20, 2023 08:07
@HappyBerrysBoy HappyBerrysBoy marked this pull request as ready for review April 20, 2023 08:07
@HappyBerrysBoy HappyBerrysBoy marked this pull request as draft April 20, 2023 08:09
@HappyBerrysBoy HappyBerrysBoy marked this pull request as ready for review April 20, 2023 08:49
- Main.js Bug Fix(steemSelectedRpc => !steemSelectedRpc)
- Set state(rpcNode, rpcError)
- Show rpcError under component when invalid rpc url format

validateUrlFormat(url) {
if (!url) return false;
if (!/^https?:\/\//.test(url)) return false;
Copy link
Contributor

Choose a reason for hiding this comment

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

Are we enforcing a HTTPS here? Also, check this for a more complex reg: https://stackoverflow.com/questions/8667070/javascript-regular-expression-to-validate-url

Copy link
Author

Choose a reason for hiding this comment

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

I fixed this.
Thanks for your kindly review.

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