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
following the guide, adding a "guard" for authenticated pages could be a long job on large websites with many pages to protect.
Is it possible to use middleware to protect pages?
Trying myselft I saw that event.request.url often refers to _server endpoints and other "under the hood" ulrs. Any idea on how to do that?
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
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all!
following the guide, adding a "guard" for authenticated pages could be a long job on large websites with many pages to protect.
Is it possible to use middleware to protect pages?
Trying myselft I saw that
event.request.urloften refers to_serverendpoints and other "under the hood" ulrs. Any idea on how to do that?Thanks in advance
Beta Was this translation helpful? Give feedback.
All reactions