Skip to content

Fix collaboration service when using localhost

matt00 requested to merge dev/collab into main

Fixed the following issues with collaboration and publishing diagrams:

  • The web app only used wss:// (websocket secure), which requires the website to use https. Now it will us ws:// if the deployment url uses insecure http (for local development).
  • Fixed webapp so it defaults to port 8080 instead of 8888 when DEPLOYMENT_URL isn't set
  • Fixed server so it loads body-parser before loading routes (otherwise request bodies couldn't be read).

Merge request reports