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
The workaround for redirect not having a body property works fine on local.
exportasyncfunctionrequireAuth(){constisLoggedIn=false;if(!isLoggedIn){constresponse=redirect('/login?message=You must be logged in');response.body=true;throwresponse;}returnnull;}
However reasigning the body is problametic because it throws this error
Hey @CodeAnk2829 ! First of all thank you for responding to my thread. Sadly I am not a collaborator of this repository so I cannot make you an assignee. I believe you need to ask one of the collaborators of this repository for that.
The workaround for redirect not having a body property works fine on local.
However reasigning the body is problametic because it throws this error
It doesn't effect the local build but it fails on Netlify build step saying that
Is there a possible fix for this issue?
The text was updated successfully, but these errors were encountered: