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

【求助】缺少token,无权访问 #11

Open
xylon666 opened this issue Mar 1, 2022 · 1 comment
Open

【求助】缺少token,无权访问 #11

xylon666 opened this issue Mar 1, 2022 · 1 comment

Comments

@xylon666
Copy link

xylon666 commented Mar 1, 2022

环境:MacOS 12.1
开发工具:vscode
想在您项目基础上做一个生成指定语句图片的功能,拉取代码部署后,本地打开页面,提示“缺少token,无权访问”,请问应该在哪里配置呢?
根据另一个issue的回答,代码中找到相近的部分,把token换成了github的开发者token,但也不行,期间求助了前端同学无果,希望能获得较为详细的解决方式,万分感谢!
image

@xylon666
Copy link
Author

xylon666 commented Mar 3, 2022

摸索了好久,把token校验部分注释掉了,替换wordArr的字符串list,运行后就直接展示这里的文案,算是能用了😂
image

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

1 participant