-
Feature
-
Resolution: Done
-
Critical
-
3.2.0.GA
-
None
-
False
-
None
-
False
-
-
There are a few predefined endpoints in every Dev Spaces workspace that are used when there is no devfile (or when a process is listening to a port that doesn't match any devfile endpoint). The format of URLs of these predefined endpoints is:
http://<devspaces-hostname>/<devworkspace-id>/<component-name>/<default-port>/
But a developer application, listening for example on http://localhost:8080/, may not work as expected if users connect using an external URL with an extra path (such as the one with the above format).
In other words, not every web application supports URL rewrite and we should change predefined endpoints to avoid it and be exposed on URLs with the following format:
http://<devworkspace-id>-<number>.apps.<openshift-base-hostname>/
That can be achieved setting urlRewriteSupported: false for redirect endpoints in editors definitions (see vs-code, theia, intellij, pycharm).