deploy that shit
This commit is contained in:
@ -20,10 +20,6 @@ invariant(
|
||||
`Please define the "AWS_SES_FROM_EMAIL" environment variable`,
|
||||
);
|
||||
invariant(typeof process.env.REDIS_URL === "string", `Please define the "REDIS_URL" environment variable`);
|
||||
invariant(
|
||||
typeof process.env.TWILIO_AUTH_TOKEN === "string",
|
||||
`Please define the "TWILIO_AUTH_TOKEN" environment variable`,
|
||||
);
|
||||
invariant(
|
||||
typeof process.env.MASTER_ENCRYPTION_KEY === "string",
|
||||
`Please define the "MASTER_ENCRYPTION_KEY" environment variable`,
|
||||
@ -65,9 +61,6 @@ export default {
|
||||
sentry: {
|
||||
dsn: process.env.SENTRY_DSN,
|
||||
},
|
||||
twilio: {
|
||||
authToken: process.env.TWILIO_AUTH_TOKEN,
|
||||
},
|
||||
webPush: {
|
||||
privateKey: process.env.WEB_PUSH_VAPID_PRIVATE_KEY,
|
||||
publicKey: process.env.WEB_PUSH_VAPID_PUBLIC_KEY,
|
||||
|
@ -23,11 +23,11 @@ export const voiceUrl = `${serverConfig.app.baseUrl}/webhook/call`;
|
||||
|
||||
export function getTwiMLName() {
|
||||
switch (serverConfig.app.baseUrl) {
|
||||
case "local.shellphone.app":
|
||||
case "https://local.shellphone.app":
|
||||
return "Shellphone LOCAL";
|
||||
case "dev.shellphone.app":
|
||||
case "https://dev.shellphone.app":
|
||||
return "Shellphone DEV";
|
||||
case "www.shellphone.app":
|
||||
case "https://www.shellphone.app":
|
||||
return "Shellphone";
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user