-
Notifications
You must be signed in to change notification settings - Fork 2k
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
无法使用cf worker版本部署 #132
Comments
把仓库中的index.js中的内容粘贴到cloudflare的workers代码中 |
我就是把仓库中的index.js中的内容粘贴到cloudflare的workers代码中 |
我也是,在cf worker里部署好后,网页正常打开,贴链接上去下载,会跳转到http错误代码522的界面,链接超时 |
同样的情况遇见了,看错误提示应该需要在 export default 中写入脚本,不过明显 index.js 文件中的脚本内容不是这样的格式 由于刚刚学习使用 CF Worker,暂时不了解应该如何调试,希望作者可以指点一下 |
感谢作者的指导,已经成功创建了worker,不过经过我当前的网络环境测试,发现应该是workers.dev域名不通,等找到梯子后再测试一下连通性. ----update |
workers.dev被封禁了,需要自定义域名 |
上传index.js提示Uncaught SyntaxError: The requested module 'index.js' does not provide an export named 'default' at .internal-967d5db5-ebd9-479b-a5ca-eafd7ce8bfa5-collection.js:2:7
The text was updated successfully, but these errors were encountered: