From 1915db9798cd747bde91dad2d580f520e8611fa0 Mon Sep 17 00:00:00 2001 From: Lene Wasskog <lene.wasskog@nibio.no> Date: Thu, 5 Dec 2024 11:43:19 +0100 Subject: [PATCH] chore: Fix weather service urls --- html/index.html | 2 +- html/weatherdatasourcelist.html | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/html/index.html b/html/index.html index 5040d0e..26234bd 100644 --- a/html/index.html +++ b/html/index.html @@ -21,7 +21,7 @@ <h3>Weather API</h3> <p>This is the web service API for discovery of and usage of weather datasources, providing input data to DSS, both measured/calculated data from the current growing season and weather forecasts.</p> <ul> - <li><a href="/weather/apidocs/">API documentation</a></li> + <li><a href="/weather/">API documentation</a></li> <li><a href="/weatherdatasourcelist.html">List all weather datasources available</a></p></li> </ul> <p style="font-size: small;"> diff --git a/html/weatherdatasourcelist.html b/html/weatherdatasourcelist.html index 3cc9795..2ea5640 100644 --- a/html/weatherdatasourcelist.html +++ b/html/weatherdatasourcelist.html @@ -5,13 +5,13 @@ <body> <a href="/"><img src="css/images/MaDiPHS_logo.png" style="width: 300px;" alt="MaDiPHS logo"/></a> <h1>DSS list</h1> - <p>A human-friendly view of the data returned from <a href="/weather/rest/weatherdatasource">this endpoint</a></p> + <p>A human-friendly view of the data returned from <a href="/weather/weatherdatasource">this endpoint</a></p> <div id="weatherdatasourcelist"> </div> </body> <script type="text/javascript"> - fetch("https://test.madiphs.org/weather/rest/weatherdatasource") + fetch("https://test.madiphs.org/weather/weatherdatasource") .then(x => x.json()) .then(wdss => { -- GitLab