x-dr / short

一个使用 Cloudflare Pages 创建的 URL 缩短器。A URL Shortener created using Cloudflare Pages
https://d.131213.xyz/
MIT License
290 stars 503 forks source link

fix: 404 Worker threw exception #1

Closed hobk closed 1 year ago

hobk commented 1 year ago

Response.status is not a function

x-dr commented 1 year ago

这里报错了 ,你修改的方向是对的,但返回的Response不应该是json