Initial commit
This commit is contained in:
commit
56f2195962
14 changed files with 1121 additions and 0 deletions
10
src/endpoints/ping.ts
Normal file
10
src/endpoints/ping.ts
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
import { ServerRoute } from "@hapi/hapi";
|
||||
|
||||
const route: ServerRoute = {
|
||||
method: `*`, path: `/ping`,
|
||||
options: {},
|
||||
async handler() {
|
||||
return `pong!`;
|
||||
},
|
||||
};
|
||||
export default route;
|
||||
Loading…
Add table
Add a link
Reference in a new issue