fix(config): 更新API地址和配置设置

- 修改前端环境配置文件中的API基础URL地址
- 切换路由模式从history到hash模式以解决部署问题
- 注释掉axios的withCredentials配置避免跨域问题
- 修复后端JWT认证过滤器中的代码注释和逻辑结构
- 更新Docker容器时区设置为上海时区
- 修复笔记编辑器中保存数据时字段缺失的问题
- 添加Vite构建输出目录和资源目录配置
- 恢复后端开发环境数据库路径配置
This commit is contained in:
ikmkj
2026-01-06 17:58:24 +08:00
parent 3e252e0043
commit 701a621552
11 changed files with 63 additions and 10 deletions

View File

@@ -6,7 +6,7 @@ import router from '../router'
const instance = axios.create({
baseURL: import.meta.env.VITE_API_BASE_URL,
// 开发环境使用withCredentials生产环境关闭
withCredentials: import.meta.env.DEV,
// withCredentials: import.meta.env.DEV,
headers: {
'Content-Type': 'application/json'
}