Skip to content

Commit

Permalink
make config.js consistent in it's indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
klaernie committed Apr 2, 2023
1 parent dd88ffc commit 6c5f31b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@ Add the module to the modules array in the `config/config.js` file:
````javascript
modules: [
{
module: 'MMM-GrafanaChart',
position: 'top_right', // This can be any of the regions.
config: {
module: 'MMM-GrafanaChart',
position: 'top_right', // This can be any of the regions.
config: {
version: "6", // Only add this line if you are using Grafana verison 6 or greater
id: "as8fA8na", // Only Mandartory if you are using Grafana verison 6 or greater found after /d/ in the url
host: "grafana_host", //Mandatory. See url when displaying within grafana
Expand All @@ -62,7 +62,7 @@ modules: [
height: "100%", // Optional. Default: 100%
scrolling: "yes", // Optional. Default: no
refreshInterval: 900 //Optional. Default: 900 = 1/4 hour
}
}
},
]
````
Expand Down

0 comments on commit 6c5f31b

Please sign in to comment.