swiss-seismological-service / REIA-web

Frontend report generation for results of the near real time event specific loss calculations.
GNU Affero General Public License v3.0
0 stars 1 forks source link

feat: make base url for webservice calls dynamic #21

Closed schmidni closed 7 months ago

schmidni commented 7 months ago

Passing the api address through to the base function so that it is possible to check (can be expanded on if necessary) the correct form or even use an external package like path-browserify.

schmidni commented 7 months ago

sorry just realized it makes more sense to do it like this since null can be passed too this way :)