BasePath never empty
Closed this issue · 3 comments
basz commented
My happy path goes through here and as such basePath is '/' when I think it should be ''. (Well it works when I define it as ''.) Not sure if I am doing it wrong?
I now always get a 404 for any uri other then the homepage.
jyggen commented
I've noticed that the path is missing a leading slash once it's gone through this middleware (e.g. /foo/bar
becomes foo/bar
). If I change so a leading slash is added everything's working again.