diff --git a/frequency.go b/frequency.go index 7323150..b8ea24d 100644 --- a/frequency.go +++ b/frequency.go @@ -10,7 +10,7 @@ import ( "time" ) -const SwissGridAPI = "https://www.swissgrid.ch/content/swissgrid/fr/home/operation/grid-data/current-data.apicache.html?path=/content/swissgrid/fr/home/operation/grid-data/current-data/jcr:content/parsys/livedatawidget_10292" +const SwissGridAPI = "https://www.swissgrid.ch/content/swissgrid/fr/home/operation/grid-data/current-data.apicache.json?path=/content/swissgrid/fr/home/operation/grid-data/current-data/jcr:content/parsys/livedatawidget_10292" var ( LastFreqPlan = 50.0