Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trailing slash basepath #14781

Merged
merged 15 commits into from
Jul 13, 2020
Prev Previous commit
Next Next commit
didn't mean to push this
  • Loading branch information
Janpot committed Jul 12, 2020
commit 2dff676e99b2f003c7f73a84d4c11ddf288b6d93
1 change: 0 additions & 1 deletion packages/next/next-server/server/next-server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,6 @@ export default class Server {
false,
getCustomRouteBasePath(redirectRoute)
)

const updatedDestination = formatUrl(parsedDestination)

res.setHeader('Location', updatedDestination)
Expand Down