// Export a default object containing event handlersexport default { // The fetch handler is invoked when this worker receives a HTTP(S) request // and should return a Response (optionally wrapped in a Promise) async fetch(request: Request, env: Env, ctx: ExecutionContext): Promise<Response> { console.log('Got a request:', request.url); return fetch(request); },};