mirror of
https://github.com/marcogll/AnchorOS.git
synced 2026-03-15 17:24:30 +00:00
Fix Resend API key error during build
- Move Resend client instantiation from module level to function - Add validation to skip placeholder API keys - Set empty RESEND_API_KEY and GOOGLE_SERVICE_ACCOUNT_JSON during build
This commit is contained in:
@@ -23,6 +23,8 @@ ENV NEXT_PUBLIC_SUPABASE_URL=https://placeholder.supabase.co
|
||||
ENV NEXT_PUBLIC_SUPABASE_ANON_KEY=placeholder-anon-key
|
||||
ENV SUPABASE_SERVICE_ROLE_KEY=placeholder-service-role-key
|
||||
ENV STRIPE_SECRET_KEY=placeholder
|
||||
ENV RESEND_API_KEY=""
|
||||
ENV GOOGLE_SERVICE_ACCOUNT_JSON=""
|
||||
ENV NODE_OPTIONS="--max-old-space-size=16384"
|
||||
ENV NEXT_ESLINT_IGNORE_DURING_BUILDS=true
|
||||
ENV NEXT_PRIVATE_WORKERS=1
|
||||
|
||||
Reference in New Issue
Block a user