Closed RyfterWasTaken closed 8 months ago
cp .env.example .env
then put your url and start the server if u are on local.
if u are deploying on Vercel there u just have to put your webhook url
There is indeed no .env
file as I thought, you need to edit the environment variables from Vercel, in the project settings. It isn't available on mobile, except when enabling desktop mode.
After editing the environment variable, we also need to make any change in the repository for Vercel to deploy the project with the updated webhook URL, or to re-deploy. Maybe someone knows an easier way to do it.
thx, works now
the .env file for storing webhook url doesnt work for me(on both my version and this one), it just returns "Edge function has crashed", however it still works well when you just use const webhook = "webhook url"