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

Allow serving web interface and REST API on the same port #2446

Closed
kroepke opened this issue Jul 1, 2016 · 0 comments
Closed

Allow serving web interface and REST API on the same port #2446

kroepke opened this issue Jul 1, 2016 · 0 comments
Assignees
Milestone

Comments

@kroepke
Copy link
Member

@kroepke kroepke commented Jul 1, 2016

Now that #2440 is merged, we can allow serving the web interface and REST API from the same port.

The suggestion is to allow setting the web_listen_uri to the same host/port combination as the rest_listen_uri.
If that's the case the web_listen_uri needs to verify that a path different than / is set.
The resources of the web interface are then added to the same API service that serves the REST endpoints.

Otherwise a second API service is started, which functions exactly as it does right now (i.e. separate port is bound, the two API services are different).

The current behavior should be the default to avoid surprises for current 2.0 users.

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

Successfully merging a pull request may close this issue.

None yet
2 participants