change brevo api env
This commit is contained in:
parent
b8e2771875
commit
63af976671
1 changed files with 2 additions and 1 deletions
|
|
@ -1,7 +1,8 @@
|
|||
import type { Actions } from './$types';
|
||||
import { BREVO_API_KEY } from '$env/static/private';
|
||||
import { env } from '$env/dynamic/private';
|
||||
import { fail, redirect } from '@sveltejs/kit';
|
||||
|
||||
const BREVO_API_KEY = env.BREVO_API_KEY;
|
||||
const BREVO_ENDPOINT = 'https://api.brevo.com/v3/smtp/email';
|
||||
|
||||
const emailRegex = /^[^\s@]+@[^\s@]+\.[^\s@]+$/;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue