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

fix: support redirect in Nextjs 12 #44

Merged
merged 1 commit into from
Nov 15, 2021
Merged

fix: support redirect in Nextjs 12 #44

merged 1 commit into from
Nov 15, 2021

Conversation

smeijer
Copy link
Owner

@smeijer smeijer commented Nov 9, 2021

Next 12 is currently unsupported. The main thing that seems to be breaking, is calling res.end() or res.write() in getServerSideProps, as shown in this basic reproduction

Current state:

  • redirect has been fixed
  • json response is still broken

@smeijer smeijer self-assigned this Nov 9, 2021
@smeijer smeijer added the 🐛 bug Something isn't working label Nov 9, 2021
@smeijer smeijer merged commit e00c817 into main Nov 15, 2021
@smeijer smeijer deleted the feature/next-12 branch November 15, 2021 09:59
@smeijer smeijer changed the title fix: Next 12 support fix: support redirect in Nextjs 12 Nov 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant