后端版本服务器部署成功
This commit is contained in:
@@ -5,7 +5,7 @@ require('dotenv').config({ path: path.join(__dirname, '../../.env') })
|
||||
const config = {
|
||||
// 开发环境
|
||||
development: {
|
||||
port: process.env.PORT || 3100,
|
||||
port: process.env.PORT || 3200,
|
||||
mysql: {
|
||||
host: process.env.DB_HOST || 'nj-cdb-3pwh2kz1.sql.tencentcdb.com',
|
||||
port: process.env.DB_PORT || 20784,
|
||||
@@ -38,7 +38,7 @@ const config = {
|
||||
|
||||
// 测试环境
|
||||
test: {
|
||||
port: process.env.PORT || 3100,
|
||||
port: process.env.PORT || 3200,
|
||||
mysql: {
|
||||
host: process.env.DB_HOST || 'nj-cdb-3pwh2kz1.sql.tencentcdb.com',
|
||||
port: process.env.DB_PORT || 20784,
|
||||
@@ -62,7 +62,7 @@ const config = {
|
||||
|
||||
// 生产环境
|
||||
production: {
|
||||
port: process.env.PORT || 3100,
|
||||
port: process.env.PORT || 3200,
|
||||
mysql: {
|
||||
host: process.env.DB_HOST || 'nj-cdb-3pwh2kz1.sql.tencentcdb.com',
|
||||
port: process.env.DB_PORT || 20784,
|
||||
|
||||
Reference in New Issue
Block a user