-
Notifications
You must be signed in to change notification settings - Fork 354
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add admin mailer. Fixes #83 This was a nightmare - Nodemailer worked great, but Cloudflare doesn't allow full node.js and optional imports are a pain - Cloudflare a big fat dirty liars. Give an API that can only be tested on server, then once you finally get it working after 20 deploys, it's canceled. https://blog.cloudflare.com/sending-email-from-workers-with-mailchannels/ Resend is great: up and running in 5 mins.
- Loading branch information
Showing
7 changed files
with
468 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,12 @@ | ||
# Supabase settings | ||
PUBLIC_SUPABASE_URL='https://REPLACE_ME.supabase.co' | ||
PUBLIC_SUPABASE_ANON_KEY='REPLACE_ME' | ||
PRIVATE_SUPABASE_SERVICE_ROLE='REPLACE_ME' | ||
|
||
# Stripe settings | ||
PRIVATE_STRIPE_API_KEY='REPLACE_ME' | ||
|
||
# settings for email - optional | ||
# PRIVATE_ADMIN_EMAIL='[email protected]' | ||
# PRIVATE_FROM_ADMIN_EMAIL='REPLACE_ME' | ||
# PRIVATE_RESEND_API_KEY='REPLACE_ME' |
Oops, something went wrong.