mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
add sender email address in env
This commit is contained in:
parent
ba73eec9e5
commit
1346140a20
2 changed files with 15 additions and 1 deletions
|
|
@ -24,4 +24,7 @@ GCS_UPLOAD_SA_KEY_FILE_PATH=
|
|||
TWITTER_BEARER_TOKEN=
|
||||
PREVIEW_IMAGE_WRAPPER_ID='selected_highlight_wrapper'
|
||||
REMINDER_TASK_HANDLER_URL=
|
||||
ELASTIC_URL=http://localhost:9200
|
||||
ELASTIC_URL=http://localhost:9200
|
||||
SENDER_MESSAGE=msgs@sender.domain
|
||||
SENDER_FEEDBACK=feedback@sender.domain
|
||||
SENDER_GENERAL=no-reply@sender.domain
|
||||
|
|
|
|||
|
|
@ -73,6 +73,11 @@ interface BackendEnv {
|
|||
username: string
|
||||
password: string
|
||||
}
|
||||
sender: {
|
||||
message: string
|
||||
feedback: string
|
||||
general: string
|
||||
}
|
||||
}
|
||||
|
||||
/***
|
||||
|
|
@ -214,6 +219,11 @@ export function getEnv(): BackendEnv {
|
|||
username: parse('ELASTIC_USERNAME'),
|
||||
password: parse('ELASTIC_PASSWORD'),
|
||||
}
|
||||
const sender = {
|
||||
message: parse('SENDER_MESSAGE'),
|
||||
feedback: parse('SENDER_FEEDBACK'),
|
||||
general: parse('SENDER_GENERAL'),
|
||||
}
|
||||
|
||||
return {
|
||||
pg,
|
||||
|
|
@ -230,6 +240,7 @@ export function getEnv(): BackendEnv {
|
|||
fileUpload,
|
||||
queue,
|
||||
elastic,
|
||||
sender,
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue