We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
前端页面打开后,无限跳转登录和launch/llm页面 经过排查,是因为我的本地浏览器有一个默认的token cookie, 导致 这里的判断过不去,所以不会设置no_auth 的 cookie
inference/xinference/web/ui/src/App.js
Line 40 in 3f7dc2d
建议 去除 if (!data.auth && cookie.token !== 'no_auth') 中 cookie.token !== 'no_auth' 这个判断逻辑 或 更换cookie的key值:例如xinference-token
if (!data.auth && cookie.token !== 'no_auth')
cookie.token !== 'no_auth'
0.14.0
docker run -p 9997:9997 --gpus all xprobe/xinference:v0.14.0 xinference-local -H 0.0.0.0
改进cookie和sessionStorage的key值
The text was updated successfully, but these errors were encountered:
可以更换key值。有兴趣贡献吗?
Sorry, something went wrong.
ok 我改一下稍后会提交PR
Successfully merging a pull request may close this issue.
System Info / 系統信息
前端页面打开后,无限跳转登录和launch/llm页面
经过排查,是因为我的本地浏览器有一个默认的token cookie, 导致 这里的判断过不去,所以不会设置no_auth 的 cookie
inference/xinference/web/ui/src/App.js
Line 40 in 3f7dc2d
建议 去除
if (!data.auth && cookie.token !== 'no_auth')
中cookie.token !== 'no_auth'
这个判断逻辑或
更换cookie的key值:例如xinference-token
Running Xinference with Docker? / 是否使用 Docker 运行 Xinfernece?
Version info / 版本信息
0.14.0
The command used to start Xinference / 用以启动 xinference 的命令
docker run -p 9997:9997 --gpus all xprobe/xinference:v0.14.0 xinference-local -H 0.0.0.0
Reproduction / 复现过程
Expected behavior / 期待表现
改进cookie和sessionStorage的key值
The text was updated successfully, but these errors were encountered: