change gitignore. change server.js

This commit is contained in:
Dzmitry_Tamashevich@epam.com
2020-11-29 21:26:21 +03:00
committed by Daniel Hutzel
parent 00474edffe
commit ee63541845
6 changed files with 64 additions and 10 deletions

View File

@@ -3,6 +3,7 @@ const jwt = require("jsonwebtoken");
const bcrypt = require("bcryptjs");
const { ACCESS_TOKEN_SECRET, REFRESH_TOKEN_SECRET } = cds.env;
const ACCESS_TOKEN_EXP_IN = "10m";
const REFRESH_TOKEN_EXPIRES_IN = "20m";