diff --git a/package.json b/package.json index 4c7e310..4e9087d 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/src/lib/Commands/Commands.ts b/src/lib/Commands/Commands.ts index d281280..357c69b 100644 --- a/src/lib/Commands/Commands.ts +++ b/src/lib/Commands/Commands.ts @@ -335,7 +335,7 @@ export function FormatData(vm: VMObject): any { export async function CheckURLStatus(url: string): Promise { 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; } diff --git a/static/version.json b/static/version.json index 9e39fab..f595436 100644 --- a/static/version.json +++ b/static/version.json @@ -1,3 +1,3 @@ { - "version": "1.0.11" + "version": "1.0.12" } \ No newline at end of file