i tried that and it gave the same error , i also logged env.TEMPDB in the router function directly a

i tried that and it gave the same error , i also logged env.TEMPDB in the router function directly and it gave me undefined.
i don't know why it is not reading this variable , but when i use wrangler execute d1 for the commands on the database it is working fine.
Was this page helpful?