Previously redirection to remove trailing slashes would fail if Laravel was not installed in the root directory.