Added getJsonHyp method

This commit is contained in:
Shiny Nematoda 2022-08-02 07:13:42 +00:00
parent dc969e44ee
commit 4f5887aca0
No known key found for this signature in database
GPG key ID: 6506D50F5613A42D
4 changed files with 20 additions and 16 deletions

View file

@ -39,3 +39,9 @@ export async function getJsonPiped(path) {
return await getJson('https://' + root + path);
}
export async function getJsonHyp(path) {
const root = useStore().getItem('api') || 'hyperpipeapi.onrender.com';
return await getJson('https://' + root + path);
}