fix stream loading path issue when running under VIRTUAL_DIR path
Closed this issue · 0 comments
arawinters commented
Describe the bug
When running the app under a virtual dir configuration ie: http://mypubliccloud.com/app
instead of root(http://myappserver.com:8251
) the code is not fully aware of the virtual dir and will instead try to open sockets up to http://mypubliccloud.com
instead of http://mypubliccloud.com/app
To Reproduce
- add virtual directory env var
SENZING_WEB_SERVER_VIRTUAL_PATH: /app
- Start up server
- go to
/app/admin
- inspect socket request
- it will say
ws://americium.local:8255/load-queue/bulk-data/records
instead ofws://americium.local:8255/app/load-queue/bulk-data/records
Expected behavior
It should say ws://americium.local:8255/app/load-queue/bulk-data/records
instead of ws://americium.local:8255/load-queue/bulk-data/records