SDFIdk / WEBPROJ

REST API exposing coordinate transformations with PROJ

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Swagger endpoint redirects to localhost

larsnaesbye opened this issue · comments

This is a problem when accessing Swagger endpoint via https://services.kortforsyningen.dk/rest/proj -> internet users cannot see localhost.

Solution might be something along the lines of accepting X-Forwarded-Host header and redirecting accordingly.

This is no longer a problem (and was never a problem for WEBPROJ anyway)