metro.fetch: incorrect options parameter

metro.fetch: incorrect options parameter

The metro.fetch() function has two parameters:

  • req: either a Request object or a URL object or string
  • options: (Optional) an options object, with valid parameters for a Request, or a URL object or string.

The options parameter must be one of:

  • an object, with valid parameters for Request
  • a string containing a URL