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

server/src/controller/index.js错误 #85

Closed
YiHui-Liu opened this issue Dec 21, 2020 · 1 comment
Closed

server/src/controller/index.js错误 #85

YiHui-Liu opened this issue Dec 21, 2020 · 1 comment

Comments

@YiHui-Liu
Copy link
Contributor

该文件中serverURL的值是serverURL: location.protocol + '//' + location.host + location.pathname.slice(1),如果当前url是https://waline.vercel.app/ui/login,那就会返回https://waline.vercel.appui/login,导致请求错误
(问题出现于Nginx反向代理目录

@lizheming
Copy link
Collaborator

@waline/vercel@0.15.0 已修复该问题,你可以之后更新下镜像再试试~

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

No branches or pull requests

2 participants