Skip to main content

How to test Route Genius

  1. Go to Cloudflare Install Tester and copy/paste this install.json code
  2. Configure IF THIS THEN THAT conditions, as according to what you like to test within install page preview
  3. Copy the generated code within Install option values (Note: this code auto-updates when you change things on that install install page preview)

  1. Go to dash.cloudflare.com > Login > Workers
  2. Click on Launch Editor
  3. Paste in that install option values you copied on step #3 and assign it to INSTALL_OPTIONS. For example:-
INSTALL_OPTIONS = {
"items": [
{
"filterType_1": "page",
"geos_1": "none",
"pagesMatch_1": "includes",
"devices_1": "mobile",
"userAgentsMatch_1": "includes",
"filterType_2": "none",
"geos_2": "none",
"pagesMatch_2": "includes",
"devices_2": "mobile",
"userAgentsMatch_2": "includes",
"filterType_3": "none",
"geos_3": "none",
"pages"
...

  1. Copy/paste this code after end of that INSTALL_OPTIONS
  2. Click on update preview.
  3. Repeat