Skip to content
Snippets Groups Projects
Commit 1915db97 authored by Lene Wasskog's avatar Lene Wasskog
Browse files

chore: Fix weather service urls

parent 076f30b2
Branches
No related tags found
No related merge requests found
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
<h3>Weather API</h3> <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> <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> <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> <li><a href="/weatherdatasourcelist.html">List all weather datasources available</a></p></li>
</ul> </ul>
<p style="font-size: small;"> <p style="font-size: small;">
......
...@@ -5,13 +5,13 @@ ...@@ -5,13 +5,13 @@
<body> <body>
<a href="/"><img src="css/images/MaDiPHS_logo.png" style="width: 300px;" alt="MaDiPHS logo"/></a> <a href="/"><img src="css/images/MaDiPHS_logo.png" style="width: 300px;" alt="MaDiPHS logo"/></a>
<h1>DSS list</h1> <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 id="weatherdatasourcelist">
</div> </div>
</body> </body>
<script type="text/javascript"> <script type="text/javascript">
fetch("https://test.madiphs.org/weather/rest/weatherdatasource") fetch("https://test.madiphs.org/weather/weatherdatasource")
.then(x => x.json()) .then(x => x.json())
.then(wdss => .then(wdss =>
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment