TheBogueRat / MMM-iFrameReload

Module for MagicMirror 2
MIT License
4 stars 7 forks source link

Error in README.MD #3

Open Diddern opened 7 years ago

Diddern commented 7 years ago

In guide, the module name is wrong compared to what is set in Module.register(); Should be:

modules: [ { module: 'MMM-iFrameReload', position: 'bottom_bar', // This can be any of the regions. config: { // See 'Configuration options' for more information. url: "http://YOUR.TARGET.URL", width: "100%", // Optional. Default: 400px height: "300px", // Optional. Default: 800px refreshInterval: 3600 //Optional. Default: 3600 = 1 hour } } } ]

VictorPi8 commented 7 years ago

Thanks for the information ! Plus, there is an "}" in excess. Should be:

modules: [ { module: 'MMM-iFrameReload', position: 'bottom_bar', // This can be any of the regions. config: { // See 'Configuration options' for more information. url: "http://YOUR.TARGET.URL", width: "100%", // Optional. Default: 400px height: "300px", // Optional. Default: 800px refreshInterval: 3600 //Optional. Default: 3600 = 1 hour } }, ]