make notice clearer

This commit is contained in:
Archeb
2024-07-15 18:19:16 +08:00
parent 9d649f16e7
commit 638a1c9ee1
2 changed files with 3 additions and 2 deletions
+1
View File
@@ -428,6 +428,7 @@ app.post("/v1/messages", AnthropicApiKeyAuth, (req, res) => {
app.use((req, res, next) => {
const { revision, branch } = getGitRevision();
res.status(404).send("Not Found (YouChat_Proxy " + revision + "@" + branch + ")");
console.log("收到了错误路径的请求,请检查您使用的API端点是否正确。")
});
app.listen(port, async () => {