Bun autogenerates the .dev.vars file and overrides the values after every install. It takes the keys and values from the .env.local file.
In the .env.local the keys are named NEXT_PUBLIC_APP_URL, but in the .dev.vars file it must be APP_URL. Therefore I get the error APP_URL is not set. CORS errors may occur. displayed.
Bun autogenerates the .dev.vars file and overrides the values after every install. It takes the keys and values from the
.env.local
file. In the.env.local
the keys are namedNEXT_PUBLIC_APP_URL
, but in the.dev.vars
file it must beAPP_URL
. Therefore I get the errorAPP_URL is not set. CORS errors may occur.
displayed.