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] 在连接页面筛选的情况下点击断开所有连接按钮的情况下发送的请求不正确,导致到筛选的连接不会断开。 #685

Closed
rioufbi opened this issue Apr 22, 2024 · 2 comments · Fixed by #690

Comments

@rioufbi
Copy link

rioufbi commented Apr 22, 2024

筛选后的
image
点击断开所有连接后的请求情况
image
实际应该是这种的请求
image
也就是筛选后断开的连接请求应该是
http://127.0.0.1:9090/connections/b9b68b04-04e2-4cf3-bb38-4b89817b617c
实际上是
http://127.0.0.1:9090/connections/0
麻烦看看是不是这样。

@rioufbi
Copy link
Author

rioufbi commented Apr 22, 2024

关于connection 的API 介绍:
连接
/connections
请求方法:GET

获取连接信息
请求方法:DELETE

关闭所有连接
/connections/:id
请求方法:DELETE

关闭特定连接
如果以前可以的话,那可能是mihomo的ID字段改变了。

@rioufbi
Copy link
Author

rioufbi commented Apr 22, 2024

http://127.0.0.1:9090/connections/0
的DELETE 并不会断开筛选出来的连接

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant