Closed sommmen closed 3 months ago
Hey @sommmen 👍
that's a requirement I had due to client-side routing that is listed here, in the WithRoutePrefix XML comments
I'll keep the issue open to see if I can make it work also without the end slash - I'm not sure I can do it, due to how routing works on the middleware
Hm, I think I see what you're getting at. How about a simple redirect to add the slash? Not super pretty but will save a lot of headache. I've also seen this done before.
Released in v3.0.1.
Just migrated to v3 and after considerable headache it seems like for some reason https://localhost:5001/serilog-ui/ seems to work but https://localhost:5001/serilog-ui gives a 404. I'm seeing this on both chrome and firefox and this happens under the default configuration.