Skip to content

Commit

Permalink
Merge pull request #650 from fmidev/feature/647-widget-config
Browse files Browse the repository at this point in the history
issue-647: Added widgetConfig.json example
  • Loading branch information
geosaaga authored Nov 1, 2024
2 parents 403e5e6 + 3c2ea36 commit 7af33e8
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -83,4 +83,5 @@ buck-out/
.env
.env.production
android/app/release/
defaultConfig.ts
defaultConfig.ts
widgetConfig.json
27 changes: 27 additions & 0 deletions widgetConfig.json.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"dynamicConfig": {
"enabled": false,
"apiUrl": "url",
"interval": 1
},
"location": {
"default": {
"name": "Helsinki",
"area": "",
"lat": 60.16952,
"lon": 24.93545,
"id": 658225,
"country": "FI",
"timezone": "Europe/Helsinki"
},
"apiUrl": "url"
},
"weather": {
"apiUrl": "url",
"interval": 30
},
"warnings": {
"apiUrl": "url",
"interval": 5
}
}

0 comments on commit 7af33e8

Please sign in to comment.