BREAK: rename to MMM-MyCovid19

old name collides with existing module
This commit is contained in:
Sebastian Mark 2021-07-02 08:30:19 +02:00
parent 610657509a
commit e125808c57
4 changed files with 5 additions and 5 deletions

View file

@ -6,7 +6,7 @@
* for civil use only
*/
Module.register("MMM-covid19", {
Module.register("MMM-MyCovid19", {
defaults: {
region: "Bonn",
updateInterval: 3 * 60 * 60 * 1000, // 4h
@ -49,12 +49,12 @@ Module.register("MMM-covid19", {
getStyles: function () {
// load custom css for module
return ["MMM-covid19.css"];
return ["MMM-MyCovid19.css"];
},
getTemplate: function () {
// load template for layout
return 'MMM-covid19.njk';
return 'MMM-MyCovid19.njk';
},
getTemplateData: function () {

View file

@ -42,8 +42,8 @@ modules: [
## MMPM integration
```
mmpm add-ext-pkg \
--title="MMM-covid19" \
--title="MMM-MyCovid19" \
--author="smark" \
--repo="https://git.smsvc.net/MagicMirror/MMM-covid19" \
--repo="https://git.smsvc.net/MagicMirror/MMM-MyCovid19" \
--desc="covid19 statistics"
```