I run api-mock as sub app of my web.
In nginx:
location /mock {
proxy_pass http://127.0.0.1:3000;
And in .md file
# GET /message
+ Response 200 (text/plain)
Hello World!
Then, it fails to fetch mydomain.com/mock/message.
I know I could add /mock/ to all the URLs in the .md file like #GET /mock/message. But that would be inflexible when I want to change the url prefix to /api/v1, for example.
Is there a way to add this common url prefix by api-mock?