3 Commits

Author SHA1 Message Date
Vinlic科技
eccce82ade Merge pull request #16 from peanut996/master
添加health check api
2024-03-20 13:47:06 +08:00
peanut996
4fe9b654f5 添加health check api 2024-03-20 13:46:21 +08:00
Vinlic
7cbebf780c update README 2024-03-20 01:46:22 +08:00
3 changed files with 15 additions and 1 deletions

View File

@@ -9,6 +9,12 @@
与ChatGPT接口完全兼容。
还有以下两个free-api欢迎关注
ZhipuAI (智谱清言) 接口转API [glm-free-api](https://github.com/LLM-Red-Team/glm-free-api)
聆心智能 (Emohaa) 接口转API [emohaa-free-api](https://github.com/LLM-Red-Team/emohaa-free-api)
## 目录
* [声明](#声明)

View File

@@ -1,5 +1,7 @@
import chat from "./chat.ts";
import ping from "./ping.ts";
export default [
chat
chat,
ping
];

6
src/api/routes/ping.ts Normal file
View File

@@ -0,0 +1,6 @@
export default {
prefix: '/ping',
get: {
'': async () => "pong"
}
}