forked from yoone/API
1
0
Fork 0

fix(config): 更新本地数据库配置为远程服务器地址

将数据库连接配置从本地localhost改为远程服务器地址13.212.62.127,并调整端口为3306
同时启用数据库日志记录功能
This commit is contained in:
zhuotianyuan 2026-01-22 17:12:17 +08:00
parent 1eacee307d
commit 66a70f6209
1 changed files with 4 additions and 3 deletions

View File

@ -19,12 +19,13 @@ export default {
typeorm: {
dataSource: {
default: {
host: 'localhost',
port: "23306",
host: '13.212.62.127',
port: "3306",
username: 'root',
password: 'Yoone!@.2025',
database: 'inventory_v2',
synchronize: true
synchronize: true,
logging: true,
},
},
},