Skip to content

Commit

Permalink
update servers
Browse files Browse the repository at this point in the history
  • Loading branch information
feruzm committed Jan 25, 2024
1 parent 264b068 commit 82bf2fd
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/common/components/operations/operationCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export const OperationCardData=(props:any)=>{
/>

<span>
<Link to={typeof (value[val] === 'string') && index===0?`/@${value[val]}`:`/@${value[val][0]}`}>{typeof (value[val] === 'string') && index===0? value[val]:value[val][0]}&nbsp;</Link>
<Link to={typeof (value[val] === 'string') && index===0?`/@${value[val]}`:`/@${value[val][0]}`}>{typeof (value[val] === 'string') ? value[val]:value[val][0]}&nbsp;</Link>
<span dangerouslySetInnerHTML={{ __html: type==='comment_operation' && value.hasOwnProperty('parent_permlink')? 'replied to' : type==='comment_operation' && value.hasOwnProperty('comment_permlink')? 'comments to':text}} />

{type==='vote_operation' && <span >
Expand Down
2 changes: 1 addition & 1 deletion src/common/constants/servers.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
["https://rpc.ecency.com", "https://api.deathwing.me", "https://anyx.io"]
["https://api.hive.blog","https://api.deathwing.me","https://anyx.io","https://techcoderx.com"]
5 changes: 2 additions & 3 deletions src/server/handlers/fallback.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,12 @@ export const healthCheck = async (req: express.Request, res: express.Response) =
export const nodeList = async (req: express.Request, res: express.Response) => {
res.send({
hived: [
"https://rpc.ecency.com",
"https://api.deathwing.me",
"https://api.hive.blog",
"https://anyx.io",
"https://api.deathwing.me",
"https://rpc.ausbit.dev",
"https://api.openhive.network",
"https://api.pharesim.me"
"https://techcoderx.com"
]
});
};

0 comments on commit 82bf2fd

Please sign in to comment.