masquitos

Untitled

Jun 10th, 2020
300
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if (currentEnv === "test") {
  2.   // test
  3.   environment.http_type = "http";
  4.   environment.host = "localhost";
  5.   environment.port = "8882";
  6.   environment.db_host = "127.0.0.1";
  7.   environment.db_port = "5432";
  8.   environment.db_password = "Qwe12345";
  9.   environment.db_user = "postgres";
  10.   environment.db_dbname = "gisdb";
  11.   environment.secret = secureSettings.jwtKey;
  12.   environment.jwt_expires = 86400;
  13.   environment.jwt_restore_expires = 300;
  14.   environment.mailService = secureSettings.mailService;
  15.   environment.mail_login = secureSettings.mailLogin;
  16.   environment.mail_password = secureSettings.mailPassword;
  17.   environment.bcrypt_salt_rounds = 10;
  18.   environment.close_tasks_interval = 30000;
  19.   environment.service_http_type = "http";
  20.   environment.service_host = "test.domain.ru";
  21. }
Add Comment
Please, Sign In to add comment