Capitains / Nautilus

Implementation of a local CTS5 endpoint for MyCapytains
http://capitains-nautilus.readthedocs.io/en/latest/
Mozilla Public License 2.0
6 stars 4 forks source link

hardcoded base url for collections in dts api #73

Open balmas opened 6 years ago

balmas commented 6 years ago

the use of localhost:5000 as the base url for the DTS collections seems to be hardcoded this is in the dts-draft-1 branch

PonteIneptique commented 6 years ago

This is a good bug where a decision needs to be taken : do we want relative URIs or do we want to simply force people to enter app["SERVER_NAME "] ?

balmas commented 6 years ago

ah, well you know what my answer is going to be. A nice default (i.e relative URIs) and the ability to override with a setting.

PonteIneptique commented 6 years ago

Untested (neither unit or dev server) version on https://github.com/Capitains/Nautilus/commit/753a61f77f11de6368a66e1eb659fe733c28da27