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 really love the middleware feature of next-safe-action, that I would like to use it sometime only on server side (like in RSC) to take profit of code factorization.
My question is : is using next-safe-action or a "use server" directive leaking anybody or anywhere a way to call the endpoint directly from outside the application ? Like from the frontend ?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I really love the middleware feature of next-safe-action, that I would like to use it sometime only on server side (like in RSC) to take profit of code factorization.
My question is : is using next-safe-action or a "use server" directive leaking anybody or anywhere a way to call the endpoint directly from outside the application ? Like from the frontend ?
Beta Was this translation helpful? Give feedback.
All reactions