HDFGroup / h5serv

Reference service implementation of the HDF5 REST API
Other
168 stars 35 forks source link

Verify that domain config can be changed #96

Closed jreadey closed 8 years ago

jreadey commented 8 years ago

Reported: Is the hdfgroup.org domain hard-coded in the server? After changing the domain config, then I'm not able to access h5serv.

jreadey commented 8 years ago

If you stop the server and then restart with a non-default domain like so:

python app.py --domain foo.com

Requests will be served using the new domain, but the hrefs and targets in the responses will use the old domain as a base.

To fix this, remove the file ".toc.h5" in the data directory before restarting.