theo
Explore posts from serversKKinde
•Created by theo on 9/8/2024 in #💻┃support
Unable to visit /admin/*
i have a nextjs app that has an admin page with sub pages like /admin/upload /admin/store etc, it all works in localhost, but in prod i get this behaviour, where clicking on the pages, or navigating via the url sends you back to /admin/ any ideas on what it is? im using app router and protecting with
matcher: ["/admin/:path*"]
in middleware12 replies
TTCTheo's Typesafe Cult
•Created by theo on 8/24/2024 in #questions
indecipherable build error
when building my nextjs app i get the error
cant find any info on it, I've cleared my node modules and reinstalled everything, I've cleared my next cache, still, cant seem to get anywhere or find anything on it
4 replies
KKinde
•Created by theo on 7/16/2024 in #💻┃support
Middleware based protection not working
in my middleware.ts, i have the following code
however, it simply doesnt protect any routes, while page based protection does work, however i want to avoid using that
7 replies