diff options
author | Quentin Dufour <quentin@deuxfleurs.fr> | 2023-09-25 23:00:57 +0200 |
---|---|---|
committer | Quentin Dufour <quentin@deuxfleurs.fr> | 2023-09-25 23:00:57 +0200 |
commit | 982bd8a43c50bb5845b694dbd0b3e0ffbf43dad7 (patch) | |
tree | a0b711018858b8daf918c9f066562a6f9afc04f8 /main.go | |
parent | 08287375736a0a57c03b4bd6d9c222dc5567db6e (diff) | |
download | guichet-982bd8a43c50bb5845b694dbd0b3e0ffbf43dad7.tar.gz guichet-982bd8a43c50bb5845b694dbd0b3e0ffbf43dad7.zip |
done with APIapi
Diffstat (limited to 'main.go')
-rw-r--r-- | main.go | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -147,7 +147,8 @@ func server(args []string) { r.HandleFunc("/login", handleLogin) r.HandleFunc("/logout", handleLogout) - r.HandleFunc("/api/unstable/website/{bucket}", handleAPIWebsite) + r.HandleFunc("/api/unstable/website", handleAPIWebsiteList) + r.HandleFunc("/api/unstable/website/{bucket}", handleAPIWebsiteInspect) r.HandleFunc("/profile", handleProfile) r.HandleFunc("/passwd", handlePasswd) |