API & Client - remove DarkSky weather provider

This commit is contained in:
Sam
2023-04-11 16:55:18 +02:00
parent ef65689263
commit 642b15d521
6 changed files with 6 additions and 193 deletions

View File

@ -75,10 +75,6 @@
function get_weather_provider() {
const weather_provider: Record<string, string> = {}
if (appConfig.value.weather_provider === 'darksky') {
weather_provider['name'] = 'Dark Sky'
weather_provider['url'] = 'https://darksky.net'
}
if (appConfig.value.weather_provider === 'visualcrossing') {
weather_provider['name'] = 'Visual Crossing'
weather_provider['url'] = 'https://www.visualcrossing.com'