! AlexNotTheLion
Explore posts from serversTTCTheo's Typesafe Cult
•Created by ! AlexNotTheLion on 6/21/2024 in #questions
In Nextjs how do you set serachParams in middleware ?
Yup same response as above, doesn't have the search params as far as I can tell
17 replies
TTCTheo's Typesafe Cult
•Created by ! AlexNotTheLion on 6/21/2024 in #questions
In Nextjs how do you set serachParams in middleware ?
the first thing the createClient method does it create an unmodified response like so, so i expect that takes out all the params ?
17 replies
TTCTheo's Typesafe Cult
•Created by ! AlexNotTheLion on 6/21/2024 in #questions
In Nextjs how do you set serachParams in middleware ?
if i add the params manuall like localhost:3000/events?test=abc , the params stay
17 replies
TTCTheo's Typesafe Cult
•Created by ! AlexNotTheLion on 6/21/2024 in #questions
In Nextjs how do you set serachParams in middleware ?
but i have also checked getting the params in a server component and they do get removed
17 replies
TTCTheo's Typesafe Cult
•Created by ! AlexNotTheLion on 6/21/2024 in #questions
In Nextjs how do you set serachParams in middleware ?
17 replies
TTCTheo's Typesafe Cult
•Created by ! AlexNotTheLion on 6/21/2024 in #questions
In Nextjs how do you set serachParams in middleware ?
sorry for the long reply, window 10 terminal is being a pain and putting things in objects, heres the output
17 replies
TTCTheo's Typesafe Cult
•Created by ! AlexNotTheLion on 6/21/2024 in #questions
In Nextjs how do you set serachParams in middleware ?
sorry forgot to press reply ^
17 replies
TTCTheo's Typesafe Cult
•Created by ! AlexNotTheLion on 6/21/2024 in #questions
In Nextjs how do you set serachParams in middleware ?
17 replies
TTCTheo's Typesafe Cult
•Created by ! AlexNotTheLion on 6/21/2024 in #questions
In Nextjs how do you set serachParams in middleware ?
thats fine, the issue im currently seeing is the params im setting are not appearing in the url if the user is authenticated
17 replies
TTCTheo's Typesafe Cult
•Created by ! AlexNotTheLion on 6/21/2024 in #questions
In Nextjs how do you set serachParams in middleware ?
bump
17 replies