summaryrefslogtreecommitdiff
path: root/api/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'api/main.go')
-rw-r--r--api/main.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/api/main.go b/api/main.go
index 29f71c9..c4645b8 100644
--- a/api/main.go
+++ b/api/main.go
@@ -10,6 +10,8 @@ import (
func Run(db *redqdb.SafeDB) {
const prefix string = "POST /_redq/api"
+ login := newLogin(db)
+ http.Handle(prefix+"/ac/login", login)
exampleApi := newExamplApiName(db)
http.Handle(prefix+"/example", exampleApi)