Redirecting in middleware seems to break CSS
Answered
Xander posted this in #help-forum
XanderOP
When doing a simple
NextResponse.redirect()
all the css in the redirected page does not load properlyAnswered by Xander
ahhh it may be possibly that i'm redirecting the css for everything
6 Replies
XanderOP
all the afformentioned css is in the root layout
as import statements
the layout is being applied as i can see the navbar
XanderOP
looks like im seeing this https://github.com/vercel/next.js/discussions/20650
XanderOP
ahhh it may be possibly that i'm redirecting the css for everything
Answer
XanderOP
hmmm