Negate opening slash in url
See original GitHub issueHow to negate opening slash in generated params of custom instance? from
url: `/some-service/v1/some/event/`,
to
url: `some-service/v1/some/event/`,
Issue Analytics
- State:
- Created a year ago
- Reactions:1
- Comments:5 (2 by maintainers)
Top Results From Across the Web
OK to skip slash before query string? - Stack Overflow
As a matter of modern spec, yes, it is permissible to skip the slash, contrary to what the accepted answer here claims.
Read more >To slash or not to slash | Google Search Central Blog
Different content on slash and non-slash URLs is okay for Google, ... Historically, it's common for URLs with a trailing slash to indicate...
Read more >Trailing slashes in website | Optimizely Developer Community
e.g. a trailing slash in one URL could be read by search engines as two separate and different URLs. This can create the...
Read more >add trailing slash but still respons without - API Questions
The solution would be to add a 301 redirect, if the trailing slash is missing. But why do Umbraco not work that way...
Read more >What Is a Trailing Slash in URL & How Does It Affect SEO?
It's ok to have trailing slashes after the domain name; Trailing slash matters for most URLs; Trailing slashes on hostnames don't actually ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hello @yyynnn, it’s currently automatically added and there is no way to not have it. You can remove it yourself if needed. But I am curious why would you need that?
Thanks for the quick reply ! If I can be of any help don’t hesitate asking.
For those who stumble across this issue and would like a quick hack to make it work in the meantime, here’s my dodgy Interceptor :