🔀 Merge pull request #1595 from CrazyWolf13/master

 Update Glances to API V4
This commit is contained in:
Alicia Sykes 2024-05-21 17:30:25 +01:00 committed by GitHub
commit aa6ed69015
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -8,7 +8,7 @@ export default {
}, },
/* Optionally specify the API version, defaults to V 3 */ /* Optionally specify the API version, defaults to V 3 */
apiVersion() { apiVersion() {
return this.options.apiVersion || 3; return this.options.apiVersion || 4;
}, },
/* Optionally specify basic auth credentials for Glances instance */ /* Optionally specify basic auth credentials for Glances instance */
credentials() { credentials() {