后端修复: - Spring Boot 降级到 3.1.12 以兼容 MyBatis-Plus 3.5.6 - 添加 RedisConfig 配置 RedisTemplate Bean - 修复数据库连接字符编码 characterEncoding=UTF-8 - 添加健康检查接口 /api/v1/health 到认证白名单 - 实体字段同步数据库: WorkLog 添加 recordTime, LogTemplate 添加 templateContent/instruction - 修复 logback 滚动策略配置 - 密码验证临时改为明文比对(测试用) 前端修复: - API baseURL 统一修正为 /wlog/api/v1 - Vite 配置添加 base 路径 (/wladmin/, /wlmobile/) 脚本修复: - stop.sh/status.sh 使用动态 APP_HOME 获取路径
24 lines
470 B
TypeScript
24 lines
470 B
TypeScript
import { defineConfig } from 'vite'
|
|
import vue from '@vitejs/plugin-vue'
|
|
import { fileURLToPath, URL } from 'node:url'
|
|
|
|
// https://vitejs.dev/config/
|
|
export default defineConfig({
|
|
base: '/wlmobile/',
|
|
plugins: [vue()],
|
|
resolve: {
|
|
alias: {
|
|
'@': fileURLToPath(new URL('./src', import.meta.url))
|
|
}
|
|
},
|
|
server: {
|
|
port: 5174,
|
|
proxy: {
|
|
'/wlmobile': {
|
|
target: 'http://localhost:8200',
|
|
changeOrigin: true
|
|
}
|
|
}
|
|
}
|
|
})
|