cache refresh
This commit is contained in:
@@ -368,7 +368,8 @@ data:
|
|||||||
# Weather Widget (Időkép)
|
# Weather Widget (Időkép)
|
||||||
- type: custom-api
|
- type: custom-api
|
||||||
title: "Időkép – Budapest VIII."
|
title: "Időkép – Budapest VIII."
|
||||||
url: "http://idokep-scraper.glance-system.svc.cluster.local:8000/api"
|
url: "http://idokep-scraper.glance-system.svc.cluster.local:8000/api?v=2"
|
||||||
|
cache: 30s
|
||||||
template: |
|
template: |
|
||||||
{{ $loc := .JSON.String "location.name" }}
|
{{ $loc := .JSON.String "location.name" }}
|
||||||
{{ if eq $loc "" }}{{ $loc = .JSON.String "place" }}{{ end }}
|
{{ if eq $loc "" }}{{ $loc = .JSON.String "place" }}{{ end }}
|
||||||
|
|||||||
Reference in New Issue
Block a user