add legal note

pull/2/head
Fionn 2 years ago
parent 561cf13eb8
commit b9a91a59a2

@ -54,6 +54,7 @@ export interface WxData {
info: { info: {
date: string; date: string;
datestring: string; datestring: string;
legal: string;
}; };
data: { data: {
[key: string]: WxFixData; [key: string]: WxFixData;
@ -103,6 +104,7 @@ export async function generateData() {
info: { info: {
date: now.toISOString(), date: now.toISOString(),
datestring: `${now.getUTCDate()}${now.getUTCHours()}`, datestring: `${now.getUTCDate()}${now.getUTCHours()}`,
legal: "Weather data by Open-Meteo.com (https://open-meteo.com)"
}, },
data: {} data: {}
} }

Loading…
Cancel
Save