I ran into the issue that I could not easily test this service behind a reverse proxy, because of the hard-coded IP:PORT set up. This should fix that. Please let me know if you need any other related changes before this can be accepted.
Changes:
Add SWAGGER_HOST environment variable to README.md for Swagger UI configuration.
Update main.go to use SWAGGER_HOST environment variable for Swagger UI host configuration.
I ran into the issue that I could not easily test this service behind a reverse proxy, because of the hard-coded
IP:PORT
set up. This should fix that. Please let me know if you need any other related changes before this can be accepted.Changes:
SWAGGER_HOST
environment variable toREADME.md
for Swagger UI configuration.main.go
to useSWAGGER_HOST
environment variable for Swagger UI host configuration.