Skip to content

Commit f984357

Browse files
committed
fix: update base URL for meteo alert retrieval
1 parent 24a526c commit f984357

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/services/meteo-alerts.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ export const getTomorrowMeteoAlert = async (): Promise<MeteoAlert | undefined> =
6464
}
6565

6666
export const getMeteoAlert = async (date?: string): Promise<MeteoAlert | undefined> => {
67-
let baseUrl = 'https://allertameteo.regione.emilia-romagna.it/datiTempoReale-prevPiog-portlet/get-stato-allerta'
67+
let baseUrl = 'https://allertameteo.regione.emilia-romagna.it/o/get-stato-allerta'
6868

6969
if (date) {
7070
baseUrl += `?data=${date}`

0 commit comments

Comments
 (0)