ITADN

Fix: Allow build to pass without env vars for Vercel

#1673Pull RequestAlexanderDaly 创建于 2025-05-21
A
AlexanderDalycommented
I modified `src/env/schema.mjs` to make DATABASE_URL, NEXTAUTH_SECRET, and OPENAI_API_KEY optional during the build process when SKIP_ENV_VALIDATION is true. This allows the Vercel build to complete successfully. You will need to set these environment variables in your Vercel project settings for the application to function correctly post-deployment.
合并状态:未合并 关闭于 2025-06-02 1 条评论