BackendStack21/fast-gateway

Ignore trailing slash

Jamie452 opened this issue · 1 comments

Is it possible to ignore trailing slashes when requesting a prefix directly?

I tried to pass ignoreTrailingSlash: true as a restana config option but had no luck.

Wondering if there's a reason this behaviour is not available?

Hi @Jamie452 thanks for reaching out.
Could you please checkout the pathRegex config of the fast-gateway module. I guess modifying the default value would work for you.

In other case, can you please describe with an example what you are trying to get?

Looking forward to hear more from you.