Shiny
Shiny
TTCTheo's Typesafe Cult
Created by Zikado on 3/1/2024 in #questions
Planetscale billing
thanks a lot for this tip! i set up cloudflare and since they provide all their ip ranges i now block all access to my servers ip except for the cloudflare ips (and my personal one for ssh and database access) they also offer free email forwarding so i even have a support email for my website now ^^ highly recommended since all you really need is free as well
9 replies
TTCTheo's Typesafe Cult
Created by Shiny on 3/2/2024 in #questions
NextAuth behind nginx https proxy doesn't get session
Well... looks like i did 4h of troubleshooting for nothing. Some cookie in my browser was set incorrectly during development and after clearing all caches and cookies it works fine now. dont ask me why
3 replies
TTCTheo's Typesafe Cult
Created by Zikado on 3/1/2024 in #questions
Planetscale billing
i ll have to look into that
9 replies
TTCTheo's Typesafe Cult
Created by Zikado on 3/1/2024 in #questions
Planetscale billing
I know but I still have to pay for traffic out if it exceeds 20TB
9 replies
TTCTheo's Typesafe Cult
Created by Shiny on 3/2/2024 in #questions
NextAuth behind nginx https proxy doesn't get session
I have just tried it in Safari and it looks like the issue is only present in chrome... now im really confused
3 replies
TTCTheo's Typesafe Cult
Created by Zikado on 3/1/2024 in #questions
Planetscale billing
Can't tell you about planetscale but i got spooked by that video too and shut down my hetzner server i use to host my webpage... don't know how to move forward now
9 replies
TTCTheo's Typesafe Cult
Created by Shiny on 3/1/2024 in #questions
create-t3 connect docker server to docker database
I figured it out. The problem was i started one container with docker compose and the other with "regular" docker via the run command. Don't know why docker didn't like that but starting both with docker run worked for me
4 replies
TTCTheo's Typesafe Cult
Created by neskviki on 2/27/2024 in #questions
Best practice for counting streams
I would save the history with an array of podcast ids on the user
7 replies
TTCTheo's Typesafe Cult
Created by neskviki on 2/27/2024 in #questions
Best practice for counting streams
I would store the watched podcast on the user. Then if a user streams a podcast check if they did before by accessing their history and if not increment a streams counter on the podcast object. Probably not the best solution but it reduces database queries compared to your solution
7 replies