You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get an Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the clienterror when trying to use redirect inside getServerSideProps like this:
I haven't gotten the need to redirect via getSSP, but I'll let you know if I come across this issue when I do.
For what it's worth, the docs also say: " In some rare cases, you might need to assign a custom status code for older HTTP clients to properly redirect", maybe the AWS lambdas are doing something weird?
I get an
Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
error when trying to use redirect inside getServerSideProps like this:The text was updated successfully, but these errors were encountered: