Skip to content

Commit

Permalink
Merge pull request #105 from GrandDuke1106/main
Browse files Browse the repository at this point in the history
modify src/serve.ts to fix iptv-checker check
  • Loading branch information
HerbertHe authored Nov 21, 2024
2 parents 10c78d9 + 9d1f0ed commit 136e01a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/serve.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ router.get("/api/check", async (ctx) => {
const res = await fetch(
`${
process.env.IPTV_CHECKER_URL
}/check-url-is-available?url=${url}&timeout=${isNaN(t) ? -1 : t}`
}/check/url-is-available?url=${url}&timeout=${isNaN(t) ? -1 : t}`
)

ctx.status = res.status
Expand Down

0 comments on commit 136e01a

Please sign in to comment.