Skip to content

Disable API prefix forwarding doesn't seem to work #585

@volkerrichert

Description

@volkerrichert

Describe the bug
remove Prefix done't seems to work correctly in proxy mode

To Reproduce

  • create a new env without any / only teh default route
  • set prefix to e.g. "business/services/cvpn"
  • enable proxy with something like "https://[target]/some/test/url"
  • enable "remove prefix"

Wenn make a call e.g. https://[mockoon]/business/services/cvpn/groups the requested call is

https://[target]/some/test/url/business/services/cvpn/groups

and no prefix is removed.

Expected behavior
I expect prefix to be removed from incoming call. In this case:

https://[target]/some/test/url/groups

Mockoon version:
1.16.0

OS / OS version:
Windows 10

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

✅ Done (ready for next release)

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions