fix: usage of API_URL

This commit is contained in:
Divlo
2022-03-21 20:44:15 +01:00
parent ad903da6a4
commit 694ac58aad
11 changed files with 18 additions and 21 deletions

View File

@ -6,6 +6,7 @@ dotenv.config()
export const PORT = parseInt(process.env.PORT ?? '8080', 10)
export const HOST = process.env.HOST ?? '0.0.0.0'
export const API_URL = process.env.API_URL ?? `http://${HOST}:${PORT}`
export const JWT_ACCESS_SECRET =
process.env.JWT_ACCESS_SECRET ?? 'accessTokenSecret'
export const JWT_REFRESH_SECRET =