Skip to content

Commit

Permalink
fix: 忘记 break
Browse files Browse the repository at this point in the history
  • Loading branch information
SALTWOOD committed Jan 12, 2025
1 parent c7b6d29 commit 9e209aa
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/routes/ApiOther.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,12 @@ export class ApiOther {
url: url,
encodedUrl: encodeURI(url)
});
break;
default:
res.status(400).json({
error: "Bad request"
});
}).send();
break;
}
});
}
Expand Down

0 comments on commit 9e209aa

Please sign in to comment.