Upgrading the Enforcer

Manually upgrading the worker

build the desired version using the same steps as appear in the Installing the Enforcer section.

  1. Run the npm install command to install the dependencies
  2. Run the npm run build command inside of the PerimeterX Cloudflare worker folder to build the module
  3. Copy the content of pxBundle.js and assign it to the px object in your current worker (workers -> "your worker" -> quick edit). The content of pxBundle.js represents the core module of the enforcer. From version to version this will be the only component which will get upgraded and modified, allowing you to keep the current config object and the main section with existing customizations as needed.
  4. Click Save and deploy

Did this page help you?