conf: production

dev/supplier-email-drawer
Lei OT 9 months ago
parent d983b2254b
commit 96c7b8da54

@ -1,4 +1,4 @@
PORT=3031
PORT=3032
API_VERSION=0
DB_USER='admin'

@ -0,0 +1,15 @@
PORT=3031
API_VERSION=0
DB_USER='sale_system'
DB_HOST='rm-wz98e41153o2c9y3m1o.mysql.rds.aliyuncs.com'
DB_PASSWORD='w9DwXc%ve74f%!M9'
DB_DATABASE='whatsapp_individual'
DB_PORT=6066
NODE_ENV='production'
WEBHOOK_URL='https://p9axztuwd7x8a7.mycht.cn/whatsapp_server/wawebhook'
SERVER_DOMAIN='https://wai-server-qq4qmtq7wc9he4.mycht.cn'
SERVER_NAME='functional_01'

@ -1,6 +1,6 @@
'use strict';
require('dotenv').config({ path: `.env.${process.env.NODE_ENV || 'development'}` });
require('dotenv').config({ path: `.env.${process.env.NODE_ENV || 'production'}` });
const fs = require('fs');
const path = require('path');

@ -5,7 +5,7 @@
"main": "index.js",
"scripts": {
"check": "npm run format && npm run lint",
"dev": "node index.js",
"dev": "set NODE_ENV=development&&node index.js",
"format": "prettier --write \"**/*.+(js|yml|yaml|json)\"",
"lint": "eslint .",
"start": "node index.js",

Loading…
Cancel
Save