MagicMirror/tests/configs/modules/weather/forecastweather_units.js

41 lines
731 B
JavaScript
Raw Normal View History

/* Magic Mirror Test config default weather
*
2021-04-11 22:43:47 +02:00
* By rejas
* MIT Licensed.
*/
let config = {
port: 8080,
ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"],
language: "en",
timeFormat: 24,
units: "imperial",
electronOptions: {
webPreferences: {
nodeIntegration: true,
2021-07-04 19:21:17 +02:00
enableRemoteModule: true,
contextIsolation: false
}
},
modules: [
{
module: "weather",
position: "bottom_bar",
config: {
type: "forecast",
location: "Munich",
apiKey: "fake key",
weatherEndpoint: "/forecast/daily",
initialLoadDelay: 3000,
decimalSymbol: "_"
}
}
]
};
/*************** DO NOT EDIT THE LINE BELOW ***************/
if (typeof module !== "undefined") {
module.exports = config;
}