1.修改环境配置

This commit is contained in:
haotian 2025-07-25 14:06:57 +08:00
parent 15120a22e3
commit 85c741514f
2 changed files with 3 additions and 3 deletions

View File

@ -33,13 +33,13 @@ JWT_REDIS_EXPIRE_MINUTES = 30
# 数据库类型,可选的有'mysql'、'postgresql',默认为'mysql'
DB_TYPE = 'mysql'
# 数据库主机
DB_HOST = '127.0.0.1'
DB_HOST = '10.0.0.17'
# 数据库端口
DB_PORT = 3306
# 数据库用户名
DB_USERNAME = 'root'
# 数据库密码
DB_PASSWORD = 'mysqlroot'
DB_PASSWORD = 'root'
# 数据库名称
DB_DATABASE = 'ruoyi-fastapi'
# 是否开启sqlalchemy日志

View File

@ -25,7 +25,7 @@ export default defineConfig(({ mode, command }) => {
},
// vite 相关配置
server: {
port: 80,
port: 9098,
host: true,
open: true,
proxy: {