Skip to content
This repository was archived by the owner on Apr 5, 2025. It is now read-only.

Commit 9e209aa

Browse files
committed
fix: 忘记 break
1 parent c7b6d29 commit 9e209aa

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/routes/ApiOther.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,12 @@ export class ApiOther {
1616
url: url,
1717
encodedUrl: encodeURI(url)
1818
});
19+
break;
1920
default:
2021
res.status(400).json({
2122
error: "Bad request"
22-
});
23+
}).send();
24+
break;
2325
}
2426
});
2527
}

0 commit comments

Comments
 (0)