Mudlet / mudlet-package-repo

Web server for serving Mudlet packages. Client @ https://github.com/Mudlet/MudletPackageManager
7 stars 5 forks source link

Use incoming address to know the server's base url, don't hardcode it #106

Open vadi2 opened 3 years ago

vadi2 commented 3 years ago

The website needs to know it's address in order to generate links right - and it can do that by figuring out the request that's incoming.

In case we put the website behind an API gateway, we also need to make it honour the X-Forwarded-* headers.