Casal0x
TTCTheo's Typesafe Cult
•Created by Casal0x on 8/10/2024 in #questions
AWS Amplify & T3 stack env var issue
there are a lot of work arround finally i made them work on build time in next.config.js, using {env: all env vars} also in the yml i had to echo all of them
13 replies
TTCTheo's Typesafe Cult
•Created by Casal0x on 8/10/2024 in #questions
AWS Amplify & T3 stack env var issue
i would thing is i can't provide code examples as they part of the company where i work xD
13 replies
TTCTheo's Typesafe Cult
•Created by Casal0x on 8/10/2024 in #questions
AWS Amplify & T3 stack env var issue
i think is an issue from t3/env, i removed it just for test and it works perfectly, but it wasn't working with it in amplify
13 replies
TTCTheo's Typesafe Cult
•Created by Casal0x on 8/10/2024 in #questions
AWS Amplify & T3 stack env var issue
also they are just for next auth i don't have any other variable used on client or server components
13 replies
TTCTheo's Typesafe Cult
•Created by Casal0x on 8/10/2024 in #questions
AWS Amplify & T3 stack env var issue
in local the .env works perfectly, but with AWS Amplify is the issue, the env vars are setted for all env, and for one specific one just for testing and they are not being readed by the next
13 replies
TTCTheo's Typesafe Cult
•Created by Casal0x on 8/17/2023 in #questions
Custom 404 page with multiple layouts
just find the only solutions is stop using 404.tsx and use _error.tsx
43 replies
TTCTheo's Typesafe Cult
•Created by Casal0x on 8/17/2023 in #questions
Custom 404 page with multiple layouts
i will try to find a solution but is not working meanwhile i think i will be a generir 404 for all types of pages
43 replies
TTCTheo's Typesafe Cult
•Created by Casal0x on 8/17/2023 in #questions
Custom 404 page with multiple layouts
43 replies
TTCTheo's Typesafe Cult
•Created by Casal0x on 8/17/2023 in #questions
Custom 404 page with multiple layouts
not working "use client" in this case for pages router
43 replies
TTCTheo's Typesafe Cult
•Created by Casal0x on 8/17/2023 in #questions
Custom 404 page with multiple layouts
i think as it renders the 404.tsx he knows that is redireccting to it but when it renders he also thinks that is the other url
43 replies
TTCTheo's Typesafe Cult
•Created by Casal0x on 8/17/2023 in #questions
Custom 404 page with multiple layouts
yes
43 replies
TTCTheo's Typesafe Cult
•Created by Casal0x on 8/17/2023 in #questions
Custom 404 page with multiple layouts
also it can't have getstaticprops or getserversideprops
43 replies
TTCTheo's Typesafe Cult
•Created by Casal0x on 8/17/2023 in #questions
Custom 404 page with multiple layouts
the thing is 404 works different that normal pages so it first render in backend
43 replies
TTCTheo's Typesafe Cult
•Created by Casal0x on 8/17/2023 in #questions
Custom 404 page with multiple layouts
yes i logging in backend /404 and in browser /dasgdsfsda
43 replies
TTCTheo's Typesafe Cult
•Created by Casal0x on 8/17/2023 in #questions
Custom 404 page with multiple layouts
is not making any difference if it comes from navigation or router :S
43 replies
TTCTheo's Typesafe Cult
•Created by Casal0x on 8/17/2023 in #questions
Custom 404 page with multiple layouts
no no i'm using pages
43 replies
TTCTheo's Typesafe Cult
•Created by Casal0x on 8/17/2023 in #questions
Custom 404 page with multiple layouts
same error :S
43 replies
TTCTheo's Typesafe Cult
•Created by Casal0x on 8/17/2023 in #questions
Custom 404 page with multiple layouts
its that bad ?
43 replies
TTCTheo's Typesafe Cult
•Created by Casal0x on 8/17/2023 in #questions
Custom 404 page with multiple layouts
different layout
43 replies
TTCTheo's Typesafe Cult
•Created by Casal0x on 8/17/2023 in #questions
Custom 404 page with multiple layouts
43 replies