diff options
author | MrArmonius <mrarmonius@gmail.com> | 2021-07-21 21:21:46 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2021-08-16 12:54:08 +0200 |
commit | b1ce932cd67be22d73606f377d2432ea389be71f (patch) | |
tree | c438829f56c749b325ab9fdb960a635b725a66bb /main.go | |
parent | fa5476e963371a6e4b26ee60887f7bc356914728 (diff) | |
download | guichet-b1ce932cd67be22d73606f377d2432ea389be71f.tar.gz guichet-b1ce932cd67be22d73606f377d2432ea389be71f.zip |
Add Route + file Directory.go
Diffstat (limited to 'main.go')
-rw-r--r-- | main.go | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -133,6 +133,9 @@ func main() { r.HandleFunc("/profile", handleProfile) r.HandleFunc("/passwd", handlePasswd) + r.HandleFunc("/directory", handleDirectory) + r.HandleFunc("/search/{input}", handleSearch) + r.HandleFunc("/invite/new_account", handleInviteNewAccount) r.HandleFunc("/invite/send_code", handleInviteSendCode) r.HandleFunc("/invitation/{code}", handleInvitationCode) |