Closed tarelli closed 4 years ago
Things I don't like
Geppetto.Main.js, line 106. String concatenation, checking for slash and in that case replacing the port??
var host = GEPPETTO.MessageSocket.protocol + window.location.host + '/' + GEPPETTO_CONFIGURATION.contextPath + '/GeppettoServlet';
if (GEPPETTO_CONFIGURATION.contextPath == "/") {
host = GEPPETTO.MessageSocket.protocol + window.location.host.replace("8081", "8080") + '/GeppettoServlet';
}
Update Another thing I don't like, in Jupyter Hub (eg HNN): "contextPath": "org.geppetto.frontend/",
in Java "contextPath": "org.geppetto.frontend" (eg VFB),
Why the difference? Are they both valid now?
Some thoughts after some merging of the above commits within a Jupyter application.
With this premises I think that it's best to get rid of contextPath into the application configuration and any other host parameters given to the application.
Proposal:
Flavours that need to be tested:
npm start
npm ....:watch
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.