Update to work with API again
This commit is contained in:
parent
06ebb6cb81
commit
24e7f56e25
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ function degreesToCompassDirection($degrees) {
|
||||||
|
|
||||||
$data = json_decode(file_get_contents($api_root.'/weather'));
|
$data = json_decode(file_get_contents($api_root.'/weather'));
|
||||||
$updated = gmdate('H:i Y-m-d', $data->updated);
|
$updated = gmdate('H:i Y-m-d', $data->updated);
|
||||||
$data = $data->data;
|
$data = $data->current;
|
||||||
@endphp
|
@endphp
|
||||||
|
|
||||||
<h1>Local Weather <small>(Last Update: {{ $updated }})</small></h1>
|
<h1>Local Weather <small>(Last Update: {{ $updated }})</small></h1>
|
||||||
|
|
Loading…
Reference in a new issue