mock-server / mockserver-ui

A dashboard to view the expectations, requests, and logs in MockServer
http://mock-server.com
20 stars 9 forks source link

Websocket doesn't include path #11

Open gpulido opened 2 years ago

gpulido commented 2 years ago

When you deploy the mockserver in a different path than the root of the host, the ui is being deployed correctly but the websocket is being created whitout the path. For example if I deploy the mockserver at host:example.com path:myservices/ I can access to the mockserver ui through example.com/myservices/mockserver/dashboard but the websocket is trying to reach ws://example.com/_mockserver_ui_websocket instead of ws://example.com/myservices/_mockserver_ui_websocket

vu-pt commented 3 months ago

I also expect that I can run the mock-server on the other context path.