The request coming at /sub/subscribe/ would be send to the wasm with route as
/scribe/. This happens because the mountpoint (/sub/) is repeatedly
stripped from the request url.
This is fixed. We now only remove the mountpoint once from the request url.
The integration test provided with this PR run successfully on my machine. It
requires some more work to run these in the CI (we have to fix old integration
tests that is commented out first) which will be addressed in a separate PR.
For the following
FASTN.ftd
:The request coming at
/sub/subscribe/
would be send to the wasm with route as/scribe/
. This happens because the mountpoint (/sub/
) is repeatedly stripped from the request url.This is fixed. We now only remove the mountpoint once from the request url.
The integration test provided with this PR run successfully on my machine. It requires some more work to run these in the CI (we have to fix old integration tests that is commented out first) which will be addressed in a separate PR.