Skip to content

本地开发模式配置BASE_PATH后无法登陆了 #425

@belongwqz

Description

@belongwqz

Bug Description / 问题描述
What happened? / 发生了什么?

Steps to Reproduce / 复现步骤

  1. 修改env文件,将BASE_PATH设置为"/mcphub/"
  2. 重启应用
  3. 发现登陆异常

Expected Behavior / 预期行为
希望能正常登陆

Environment / 运行环境

  • Running on / 运行方式: [docker/npx/local / docker/npx/本地]
  • Version / 版本: 0.10.3

Screenshots / 截图
If relevant, add screenshots / 如果有帮助的话,请添加截图

Additional Info / 补充信息
F12调试发现配置了BASE_PATH后,/api/,/login/以及一些其他鉴权相关的url不会自动加上basepath前缀

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions