Skip to content

armgit / dashy

Public Imported from GitHub
0

πŸš€ A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more!

⚑ Update Glances to API V4

Tobiasa1721def37e3
diff --git a/src/mixins/GlancesMixin.js b/src/mixins/GlancesMixin.js
index a4cd60b1..09e0761d 100644
--- a/src/mixins/GlancesMixin.js
+++ b/src/mixins/GlancesMixin.js
@@ -8,7 +8,7 @@ export default {
},
/* Optionally specify the API version, defaults to V 3 */
apiVersion() {
- return this.options.apiVersion || 3;
+ return this.options.apiVersion || 4;
},
/* Optionally specify basic auth credentials for Glances instance */
credentials() {