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
想问下在自己web服务器上搭建需要哪些环境
The text was updated successfully, but these errors were encountered:
可以看看 https://blog.cloudflare.com/cloudworker-a-local-cloudflare-worker-runner/
Sorry, something went wrong.
挖坟,我刚试了下用cf官方开源的workerd,成功运行了gdshare
做法可以参考 https://github.com/cloudflare/workerd/blob/main/samples/helloworld/README.md
只需要把worker.js的内容替换成template.js里的就行了,如果需要修改监听端口,可以在config.capnp文件里改。
worker.js
template.js
config.capnp
也就是说只需要三个文件,一个是workerd的二进制文件,一个是 config.capnp,另一个则是要运行的js文件。
有人甚至配合workerd写出了一套cf的替代品:https://github.com/VaalaCat/vorker
但我还没试过,有兴趣可以看看……
No branches or pull requests
想问下在自己web服务器上搭建需要哪些环境
The text was updated successfully, but these errors were encountered: