DISCLAIMER: This solution assumes you have activated Bot Management in your CloudFlare account, you should contact to your account manager.
Edit the DSN in index.js
to suit your environment, don't forget to edit account_id in wrangler.toml
Then you can build your project, publish it, etc with wrangler
:
cd projectname
wrangler publish
Licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.