Samathingamajig
Samathingamajig
Explore posts from servers
TTCTheo's Typesafe Cult
Created by Samathingamajig on 9/18/2023 in #questions
I get a redirect loop after switching to Cloudflare with Vercel
doing that worked t3ggLove
7 replies
TTCTheo's Typesafe Cult
Created by gave_one on 8/16/2023 in #questions
How to access another item in a zod object
here's an example, there are other ways to do it https://codesandbox.io/s/restless-framework-c48qjc?file=/src/index.ts
5 replies
TTCTheo's Typesafe Cult
Created by gave_one on 8/16/2023 in #questions
How to access another item in a zod object
the keyword you're looking for is "discriminated union"
5 replies
TTCTheo's Typesafe Cult
Created by rykuno on 5/7/2023 in #questions
Next-Auth Session in Server Function
ok looks like you can
29 replies
TTCTheo's Typesafe Cult
Created by rykuno on 5/7/2023 in #questions
Next-Auth Session in Server Function
but i don't know if you're allowed to have them on a <form> tag's action attribute
29 replies
TTCTheo's Typesafe Cult
Created by rykuno on 5/7/2023 in #questions
Next-Auth Session in Server Function
you're definitely allowed to call them as function
29 replies
TTCTheo's Typesafe Cult
Created by rykuno on 5/7/2023 in #questions
Next-Auth Session in Server Function
action as in action={...}
29 replies
TTCTheo's Typesafe Cult
Created by rykuno on 5/7/2023 in #questions
Next-Auth Session in Server Function
oh you're using an action in a client component, i don't know if you're allowed to do that
29 replies
TTCTheo's Typesafe Cult
Created by rykuno on 5/7/2023 in #questions
Next-Auth Session in Server Function
check the request in the dev tools of your browser, see if the cookie is sent
29 replies
TTCTheo's Typesafe Cult
Created by rykuno on 5/7/2023 in #questions
Next-Auth Session in Server Function
well you can't access any browser storage with code that runs on the server (without passing it in as an argument)
29 replies
TTCTheo's Typesafe Cult
Created by rykuno on 5/7/2023 in #questions
Next-Auth Session in Server Function
maybe nextauth is not ready for app directory?
29 replies
TTCTheo's Typesafe Cult
Created by rykuno on 5/7/2023 in #questions
Next-Auth Session in Server Function
or locally/lambda
29 replies
TTCTheo's Typesafe Cult
Created by rykuno on 5/7/2023 in #questions
Next-Auth Session in Server Function
is this on the edge runtime?
29 replies