honeyed-words-generator icon indicating copy to clipboard operation
honeyed-words-generator copied to clipboard

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

Open xylon666 opened this issue 2 years ago • 1 comments

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

xylon666 avatar Mar 01 '22 03:03 xylon666

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

xylon666 avatar Mar 03 '22 09:03 xylon666