issue with better auth base url configuration

i'm experiencing a problem with better-auth where the login function sends requests to localhost:3000 despite setting
BETTER_AUTH_URL
in the environment. according to the docs, the base url should be configured with BETTER_AUTH_URL, and there's no trailing slash. however, i'm still getting an error that the base url is invalid and the connection is refused. I'm using better auth with elysia and drizzle adapter, I deploy the app on sevalla if anyone is wondering. really appreciate if anyone can help me out with this because I tested and it work normally on my dev environment and even in my local container.
image.png
image.png
Was this page helpful?