remove TWILIO env vars
This commit is contained in:
parent
6817bbd3d4
commit
26eb93dbab
2 changed files with 0 additions and 9 deletions
5
.env
5
.env
|
|
@ -1,10 +1,5 @@
|
|||
NODE_ENV=
|
||||
|
||||
# TWILIO
|
||||
TWILIO_ACCOUNT_SID=secret_do_not_commit_or_change_this_create_.env.local_instead
|
||||
TWILIO_AUTH_TOKEN=secret_do_not_commit_or_change_this_create_.env.local_instead
|
||||
TWILIO_PHONE_NUMBER=secret_do_not_commit_or_change_this_create_.env.local_instead
|
||||
|
||||
# SECRETS
|
||||
SECRETS_PASSWORD=secret_do_not_commit_or_change_this_create_.env.local_instead
|
||||
SECRETS_SALT=secret_do_not_commit_or_change_this_create_.env.local_instead
|
||||
|
|
|
|||
|
|
@ -1,12 +1,8 @@
|
|||
import { z } from 'zod';
|
||||
import { PhoneRegex } from '../src/lib/regex/phone';
|
||||
|
||||
const ValidateEnvironment = () => {
|
||||
const { success, error } = z
|
||||
.object({
|
||||
TWILIO_ACCOUNT_SID: z.string().min(1),
|
||||
TWILIO_AUTH_TOKEN: z.string().min(1),
|
||||
TWILIO_PHONE_NUMBER: z.string().regex(PhoneRegex),
|
||||
SECRETS_PASSWORD: z.string().length(32),
|
||||
SECRETS_SALT: z.string().min(16),
|
||||
SECRETS_IV_POSITION: z.string().transform((val, ctx) => {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue