add note about cors generators to cors example
commitbb15aa1150b7b14625a89560d61525ef89683838
authortinnus-napbus <admin@tinnus-napbus.xyz>
dateSat 26 Jun 2021, 12:18 (5 years ago)
parent259f128
arvo/eyre/examples.md+2
@@ -566,6 +566,8 @@ blah blah blah
566566
567567Here we'll look at approving and rejecting a CORS origin by passing Clay a [%approve-origin](@/docs/arvo/eyre/tasks.md#approve-origin) `task` and [%reject-origin](@/docs/arvo/eyre/tasks.md#reject-origin) `task` respectively.
568568
569+In this example we'll use more manual methods for demonstrative purposes but note there are also the `|cors-approve` and `|cors-reject` generators to approve/reject origins from the dojo, and the `+cors-registry` generator for viewing the CORS configuration.
570+
569571First, using `|pass` in the dojo, let's approve the origin `http://foo.example` by sending Eyre a `%approve-origin` `task`:
570572
571573```