how can I change the environment variable for my Railway project?
I want to change environment variable for nocodb but can't figure out where I need to change that value in Railway project dashboard. I am using the pre-built template which railway has for nocodb
15 Replies
Project ID:
N/A
N/A
oh thanks man let's hope it works made the changes have to wait few hours to see if it sticks
why would you need to wait hours??
it's a token value that changes every 10 hour needed to change it so it only changes after few weeks
now have to wait and see if after 10 hour it changes or not
uh okay
hope it does work because I would have no clue how to fix it otherwise since I am very new to code
youd have to update it every 10 hours if the token gets changed every 10 hours
what is the token for might i ask?
it's a auth token
documentation specified I can change the value of when I need the the token to expire so I changed it to 9999999 so it shouldn't expire for a while
okay im not gonna open that can of worms
lol
https://apis.nocodb.com/#tag/DB-Table-Row/operation/db-table-row-read
"Auth Token is a JWT Token generated based on the logged-in user. By default, the token is only valid for 10 hours. However, you can change the value by defining it using environment variable NC_JWT_EXPIRES_IN." <- from nocodb documentation
do you think this should work? It Would Suck trouble shooting if I have to wait 10 hours every time to get result
i dont know, i have no experience with nocodb
oh okay no problem
thanks tho