@suluk/provision - v0.2.0
    Preparing search index...

    Function cloudflareWwwRedirect

    • A www → apex 301 redirect (C058) on the zone of params.apexHost — provisions the www canonicalization the URL single-source assumes. Idempotent (dedup by rule description). deprovision removes just the suluk rule. Zone-scoped: the broker's token needs Zone:Read + Dynamic-Redirect:Edit (NOT the account-scoped D1/KV tokens). Output: zone_id.

      Parameters

      • cf: CloudflareClient

      Returns Broker