Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] 自定义接口勾选取消后,接口调用仍然在使用自定义接口未使用服务中配置的baseurl #4518

Closed
1 of 3 tasks
varg1714 opened this issue Apr 15, 2024 · 5 comments
Labels
bug Something isn't working

Comments

@varg1714
Copy link

Bug Description

当我把自定义接口打开后,配置了自定义接口b,此时访问的是b接口,但是当我关闭该选项后,仍然使用b接口未使用后台中配置的baseurl的a

Steps to Reproduce

  1. 服务启动时配置baseurl为a
  2. 页面直接访问,请求中发出的地址为a
  3. 开启自定义接口,指定自定义接口地址为b
  4. 页面访问,此时请求中发出的地址为b
  5. 关闭自定义接口,此时请求访问的地址仍然为b

Expected Behavior

在第5部关闭自定义接口后期待调用原配置的baseurl a

Screenshots

No response

Deployment Method

  • Docker
  • Vercel
  • Server

Desktop OS

macos

Desktop Browser

arc浏览器(chrome内核)

Desktop Browser Version

User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36

Smartphone Device

No response

Smartphone OS

No response

Smartphone Browser

No response

Smartphone Browser Version

No response

Additional Logs

No response

@varg1714 varg1714 added the bug Something isn't working label Apr 15, 2024
@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


Title: [Bug] After the custom interface is checked and unchecked, the interface call still uses the custom interface and does not use the baseurl configured in the service.

@i2qaq
Copy link

i2qaq commented Apr 15, 2024

Indeed, this issue has been present ever since the button came out.
So...

It's not a bug. It's a feature.

@Dean-YZG
Copy link
Contributor

Thanks to the feedback, this feature logic is really confusing to users, we will optimize the logic and eliminate counter-intuitive logic

@varg1714
Copy link
Author

Thanks to the feedback, this feature logic is really confusing to users, we will optimize the logic and eliminate counter-intuitive logic感谢反馈,这个功能逻辑确实让用户感到困惑,我们将优化逻辑并消除反直觉的逻辑

Thank you for your contributions!

@Dean-YZG
Copy link
Contributor

fix it in this pr #4525

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants