Fixed routing to use originalPath, which is the url