Skip to content

Commit

Permalink
支持ping请求
Browse files Browse the repository at this point in the history
  • Loading branch information
Vinlic committed Apr 10, 2024
1 parent 079c0a2 commit 67286d5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/api/routes/ping.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
export default {
prefix: "/ping",
get: {
"": async () => "pong",
},
};

0 comments on commit 67286d5

Please sign in to comment.