可以,试试这个开源项目,将worker.js代码放到本地电脑上,然后运行:
$ npm install -g cloudflare-worker-local $ cloudflare-worker-local /path/to/worker.js localhost:3000 4000 Listening on Port 4000 and forwarding requests to http://localhost:3000/github:https://github.com/gja/cloudflare-worker-local
网友回复