aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2021-08-16 16:27:20 +0200
committerAlex Auvolat <alex@adnab.me>2021-08-16 16:27:20 +0200
commit01bf4aa52279630910ce33d065efcda77e6df7bb (patch)
tree78dd9c82e09388aae5fd9f4847c0b854f9846de5 /main.go
parente94bd728ec7f709883fb232b2eb123543ba5660e (diff)
downloadguichet-01bf4aa52279630910ce33d065efcda77e6df7bb.tar.gz
guichet-01bf4aa52279630910ce33d065efcda77e6df7bb.zip
Fix directory searching
Diffstat (limited to 'main.go')
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.go b/main.go
index b5c8680..d574f3f 100644
--- a/main.go
+++ b/main.go
@@ -115,8 +115,8 @@ func main() {
r.HandleFunc("/passwd", handlePasswd)
r.HandleFunc("/picture/{name}", handleDownloadPicture)
+ r.HandleFunc("/directory/search", handleDirectorySearch)
r.HandleFunc("/directory", handleDirectory)
- r.HandleFunc("/directory/search/{input}", handleSearch)
r.HandleFunc("/invite/new_account", handleInviteNewAccount)
r.HandleFunc("/invite/send_code", handleInviteSendCode)