Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong links to available endpoints #1214

Closed
giovannipizzi opened this issue Jun 1, 2022 · 1 comment
Closed

Wrong links to available endpoints #1214

giovannipizzi opened this issue Jun 1, 2022 · 1 comment

Comments

@giovannipizzi
Copy link

In the "homepage", I get something like this:

http://localhost:5000/v1/links
http://localhost:5000/v1/references
http://localhost:5000/v1/structures
http://localhost:5000/v1/trajectories
http://localhost:5000/v1/info

However, this remains also if e.g. I change the port (I'm running on port 5010 for instance, I changed the run.sh script).
Are the strings above hardcoded? Can the hostname, port, ... be dynamically generated?

@ml-evs
Copy link
Member

ml-evs commented Jun 1, 2022

The base URL also needs to be set in your config file, I think dynamic generation is not possible as this would break containerized use of the app. There is a need for better documentation about setting base URL and root path, so I will make sure to mention this problem too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants