update config

This commit is contained in:
cebgcontract 2022-10-28 10:43:01 +08:00
parent 56aa41ac67
commit 98239bf324
2 changed files with 2 additions and 2 deletions

View File

@ -4,4 +4,4 @@ API_TOKEN_SECRET=sdf(**&*&xx2214
API_TOKEN_EXPIRESIN=1d
GOOGLE_OAUTH_CLIENT="165555585193-glmtnb94s3kkq906hal72ppiuoqpjjc5.apps.googleusercontent.com"
DB_MAIN=mongodb://localhost/wallet-production
DB_MAIN=mongodb://127.0.0.1/wallet-production

View File

@ -6,7 +6,7 @@
"scripts": {
"dev:api": "ts-node -r tsconfig-paths/register src/api.ts",
"build": "tsc",
"prod:api": "NODE_PATH=./dist node dist/api.js",
"prod:api": "NODE_ENV=production NODE_PATH=./dist node dist/api.js",
"lint": "eslint --ext .ts src/**",
"format": "eslint --ext .ts src/** --fix"
},