denoland / dotland

[Archived] deno.land website
https://deno.land
MIT License
957 stars 626 forks source link

add mastodon #2612

Closed lambtron closed 1 year ago

lambtron commented 1 year ago

hmmm whenever i try to revert the deno.lock changes, it seems like the server errors:

error: Uncaught TypeError: cannot read headers: request closed
  const accept = req.headers.get("accept");
                     ^
    at Object.get headerList (deno:ext/fetch/23_request.js:116:19)
    at Request.request.<computed> (deno:ext/fetch/23_request.js:581:62)
    at Request.get [headers] (deno:ext/fetch/23_request.js:252:48)
    at Request.get headers (deno:ext/fetch/23_request.js:465:18)
    at isBot (file:///Users/andyjiang/Developer/deno/dotland/util/ga_utils.ts:31:22)
    at file:///Users/andyjiang/Developer/deno/dotland/util/ga_utils.ts:105:17
Watcher Process finished. Restarting on file change...

any idea?