Merge pull request #2798 from khassel/cors

This commit is contained in:
Michael Teeuw
2022-01-28 11:22:43 +01:00
committed by GitHub
6 changed files with 53 additions and 31 deletions

View File

@@ -18,7 +18,8 @@ WeatherProvider.register("darksky", {
// Set the default config properties that is specific to this provider
defaults: {
apiBase: "https://cors-anywhere.herokuapp.com/https://api.darksky.net",
useCorsProxy: true,
apiBase: "https://api.darksky.net",
weatherEndpoint: "/forecast",
apiKey: "",
lat: 0,