Skip to content

Commit

Permalink
Fixing connection to mainnet.
Browse files Browse the repository at this point in the history
  • Loading branch information
TeknoPT committed Jan 29, 2024
1 parent d03f9b6 commit b394e54
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "phantasma-hub",
"version": "1.0.11",
"version": "1.0.12",
"private": true,
"scripts": {
"dev": "npm run version:update && vite dev --cors true",
Expand Down
2 changes: 1 addition & 1 deletion src/lib/Commands/Commands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ export function FormatData(vm: VMObject): any {

export async function CheckURLStatus(url: string): Promise<boolean> {
try {
const response = await fetch(url.replace('rpc', 'api/v1/health'));
const response = await fetch(url.replace('/rpc', '/api/v1/health'));
if (response.status == 200 || response.status == 405) {
return true;
}
Expand Down
2 changes: 1 addition & 1 deletion static/version.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"version": "1.0.11"
"version": "1.0.12"
}

0 comments on commit b394e54

Please sign in to comment.