𝓐𝓷𝓭𝔂
𝓐𝓷𝓭𝔂
TTCTheo's Typesafe Cult
Created by 𝓐𝓷𝓭𝔂 on 10/13/2023 in #questions
Getting 401 error code with public procedure
I added "/api/trpc(.*)" on the public routes in the middleware file and I guess I will handle the private/protected procedures with trpc directly, getting the auth state from clerk
6 replies
TTCTheo's Typesafe Cult
Created by 𝓐𝓷𝓭𝔂 on 10/13/2023 in #questions
Getting 401 error code with public procedure
I see, so what should I change to make those routes accesible for unauthenticated users?
6 replies
TTCTheo's Typesafe Cult
Created by 𝓐𝓷𝓭𝔂 on 7/23/2023 in #questions
File (images) storage with T3
Got it, I think I'll be using uploadthing for now. Thank you very much!
17 replies
TTCTheo's Typesafe Cult
Created by 𝓐𝓷𝓭𝔂 on 7/23/2023 in #questions
File (images) storage with T3
How is uploadthing better pricing wise? Isn't R2 cloudflare free for 10 GB and $0.015 per extra GB per month? So if I had 50GB it would be $0.6 with R2 cloudflare and $10 with uploadthing, or am I missing something?
17 replies
TTCTheo's Typesafe Cult
Created by 𝓐𝓷𝓭𝔂 on 7/23/2023 in #questions
File (images) storage with T3
Which would be uploadthing advantage? Being easier to use? Because if I'm not mistaken, from what I just read in both websites, R2 cloudflare has a more generous free tier and is also cheaper when scaling
17 replies