HTTP-APIs / hydrus

REST server - Flask Hydra-powered for Semantic Web
https://pypi.org/project/hydrus/
MIT License
195 stars 130 forks source link

Fix get_host_domain function for deployment #603

Closed farazkhanfk7 closed 3 years ago

farazkhanfk7 commented 3 years ago

Fixes #602

Checklist

Current behaviour

I was trying to deploy the docker-container after changing the hydrus_server_url and found a possible bug, which wasn't allowing us to change it to something else other than "localhost:{PORT}". In hydrus/conf.py it was hardcoded to "localhost".

New expected behaviour

Change logs