metro.fetch: Missing URL Parameter
metro.fetch: Missing URL Parameter
This error occurs when you call metro.fetch(req) and req.url is not set or empty.
The metro.fetch() function has two parameters:
req: either a Request object or a URL object or stringoptions: (Optional) an options object, with valid parameters for a Request, or a URL object or string.
Either the req or the options object should specify a URL, e.g:
Or, by overriding req.url in the second parameter:
Or, explicitly: