bteres
03/31/2024, 2:10 PM_app.tsx
by using
if (typeof window !== 'undefined') {
initAuth();
}
before export default function App...
Inside initAuth()
, I call the SuperTokens.init
function. This all seems to work but we are using a build once deploy many approach and when I try to use env variables at runtime, they are not available at that level. Any insight on this?rp_st
03/31/2024, 5:11 PMrp_st
03/31/2024, 5:11 PMbteres
04/01/2024, 8:00 AMSperTokens.init
function?rp_st
04/01/2024, 8:14 AM