-
Notifications
You must be signed in to change notification settings - Fork 92
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: mail template path issue during production build fixed
- Loading branch information
Showing
4 changed files
with
51 additions
and
5 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,56 @@ | ||
server: | ||
port: 7777 | ||
origin: 'http://localhost:3000' | ||
|
||
db: | ||
host: 'localhost' | ||
type: 'postgres' | ||
port: 5432 | ||
database: 'truthy' | ||
username: 'postgres' | ||
password: 'root' | ||
password: '' | ||
synchronize: false | ||
|
||
jwt: | ||
secret: 'example@123' | ||
expiresIn: 900 | ||
refreshExpiresIn: 604800 | ||
cookieExpiresIn: 604800 | ||
secret: 'Rtya$#asdf@sdfsco123ejsd@@3#' | ||
|
||
app: | ||
name: 'Truthy' | ||
version: '0.2.0' | ||
description: 'Official Truthy API' | ||
appUrl: 'http://157.245.148.131:7777' | ||
frontendUrl: 'http://157.245.148.131:3000' | ||
sameSite: true | ||
|
||
mail: | ||
host: 'in-v3.mailjet.com' | ||
port: 587 | ||
user: 'e3818ebeda5d271f541c4925e12e60af' | ||
pass: 'fd10758be28c2873ddf9e359644e873a' | ||
from: '[email protected]' | ||
fromMail: '[email protected]' | ||
preview: false | ||
secure: false | ||
ignoreTLS: true | ||
queueName: 'truthy-mail' | ||
|
||
queue: | ||
driver: 'redis' | ||
host: 'localhost' | ||
port: 6379 | ||
db: '' | ||
password: '' | ||
username: '' | ||
|
||
throttle: | ||
global: | ||
ttl: 60 | ||
limit: 60 | ||
login: | ||
prefix: 'login_fail_throttle' | ||
limit: 5 | ||
duration: 2592000 | ||
blockDuration: 3000 |
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,6 +1,6 @@ | ||
{ | ||
"name": "truthy-api", | ||
"version": "0.2.0", | ||
"version": "0.3.0", | ||
"description": "Truthy API", | ||
"author": "gobeam <[email protected]>", | ||
"license": "MIT", | ||
|
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