diff options
Diffstat (limited to 'src/groups/user.ts')
-rw-r--r-- | src/groups/user.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/groups/user.ts b/src/groups/user.ts index 614e432..b8518dc 100644 --- a/src/groups/user.ts +++ b/src/groups/user.ts @@ -1,7 +1,8 @@ import type { Group, Context } from "https://deno.land/x/abc@master/mod.ts"; -// import type { Group, Context } from "../abc/mod.ts"; import * as handlers from "../handler/user.ts"; export default function (g: Group) { g.get("/:name", handlers.index); + g.post("/register", handlers.register); + g.post("/login", handlers.login); } |