It's a simple worker to test upload process in Cloudflare. This will get the file and calculate the SHA-1 hash of it and return it to you.
cp wrangler.toml.example wrangler.toml
wrangler login
wrangler deploy
curl -X POST -F 'file=@file.img' https://your.worker/
Just open your browser and go to your deployed worker.
Don't be shy and reach out to us if you want to contribute 😉
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request
Each project may have many problems. Contributing to the better development of this project by reporting them. 👍