Fix routing when root isn't "/"