Update glances.js

Update API to V4
pull/3188/head
Linecutterx 2 months ago committed by GitHub
parent df4f5ccee5
commit 7e3a4ab026
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -13,7 +13,7 @@ async function retrieveFromGlancesAPI(privateWidgetOptions, endpoint) {
throw new Error(errorMessage);
}
const apiUrl = `${url}/api/3/${endpoint}`;
const apiUrl = `${url}/api/4/${endpoint}`;
const headers = {
"Accept-Encoding": "application/json",
};

Loading…
Cancel
Save