Skip to content

Commit

Permalink
chore: update api url
Browse files Browse the repository at this point in the history
  • Loading branch information
juliuste committed Oct 3, 2023
1 parent 50b8803 commit e0b6ead
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@
<div id="map"></div>
<script src="https://polyfill.io/v3/polyfill.min.js?features=Intl.Locale"></script>
<script src="https://polyfill.io/v3/polyfill.min.js?features=Intl.GetCanonicalLocales"></script>
<script type="text/javascript" src="assets/bundle.js?v5"></script>
<script type="text/javascript" src="assets/bundle.js?v6"></script>
</body>
</html>
2 changes: 1 addition & 1 deletion src/helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import deLocale from 'i18n-iso-countries/langs/de.json'
export const fetchStation = async (query) => {
return Promise.race([
fetch(`https://v5.db.transport.rest/locations?query=${query}&poi=false&addresses=false`),
fetch(`https://v5.db.juliustens.eu/locations?query=${query}&poi=false&addresses=false`),
fetch(`https://v5.db.api.bahn.guru/locations?query=${query}&poi=false&addresses=false`),
])
}

Expand Down

0 comments on commit e0b6ead

Please sign in to comment.