Auth redirect depends on route

Posted 3 years ago by jzmwebdevelopment

Is there a way that it can be coded to say if the url is "/admin" then redirect to "/admin/login" or logout etc. I am building an app that is almost 2 websites in one so im trying to keep admin and front end seperate

Please sign in or create an account to participate in this conversation.

Reply to

Use Markdown with GitHub-flavored code blocks.