Files
martial-web/.env.production
n72595987@gmail.com cbf161048c
All checks were successful
continuous-integration/drone/push Build is passing
fix: 修复前端 API 路径配置
- 移除 VITE_APP_API 的 /api 前缀
- BladeX 框架的端点已包含完整路径(/blade-auth, /blade-system 等)
- 修复登录时 "No endpoint POST /api/blade-auth/oauth/token" 错误

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-29 23:55:30 +08:00

17 lines
552 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
#生产环境配置
# VITE_APP_ENV = 'http://120.197.149.12:8480'
VITE_APP_ENV = 'https://2df1-223-74-180-188.ngrok-free.app '
#接口地址
#填写前缀 [/api] 需要用nginx进行反向代理
#填写地址 [https://api.bladex.cn] 只需要保证接口支持跨域即可, 无需再做代理
# 改为空字符串,因为 BladeX 的端点路径已包含完整路径(/blade-auth, /blade-system, /api/martial
VITE_APP_API=
#页面基础路径
VITE_APP_BASE=/
# 是否在打包时开启压缩,支持 gzip 和 brotli
VITE_BUILD_COMPRESS = gzip