Introduce config module
This commit is contained in:
parent
5b9f3701f5
commit
3fb6834f7d
50 changed files with 213 additions and 208 deletions
|
@ -5,7 +5,7 @@ import { generate as generateKeypair } from '../../../crypto_key';
|
|||
import recaptcha = require('recaptcha-promise');
|
||||
import User, { IUser, validateUsername, validatePassword, pack } from '../../../models/user';
|
||||
import generateUserToken from '../common/generate-native-user-token';
|
||||
import config from '../../../conf';
|
||||
import config from '../../../config';
|
||||
|
||||
recaptcha.init({
|
||||
secret_key: config.recaptcha.secret_key
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue