aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2023-09-25 19:07:07 +0200
committerQuentin Dufour <quentin@deuxfleurs.fr>2023-09-25 19:07:07 +0200
commitbc368943a4c0853718b8a53b1caadc297412ef32 (patch)
tree36a6510319ed137c602a3dce6eb98f1a85e4ef97 /main.go
parentbe97a1be587f42a4688825244b025b06172c442a (diff)
downloadguichet-bc368943a4c0853718b8a53b1caadc297412ef32.tar.gz
guichet-bc368943a4c0853718b8a53b1caadc297412ef32.zip
heavy refactor in progress
Diffstat (limited to 'main.go')
-rw-r--r--main.go10
1 files changed, 5 insertions, 5 deletions
diff --git a/main.go b/main.go
index ee1863c..34a1630 100644
--- a/main.go
+++ b/main.go
@@ -147,7 +147,7 @@ func server(args []string) {
r.HandleFunc("/login", handleLogin)
r.HandleFunc("/logout", handleLogout)
- r.HandleFunc("/api/unstable/garage/bucket/{bucket}", handleAPIGarageBucket)
+ r.HandleFunc("/api/unstable/website/{bucket}", handleAPIWebsite)
r.HandleFunc("/profile", handleProfile)
r.HandleFunc("/passwd", handlePasswd)
@@ -156,10 +156,10 @@ func server(args []string) {
r.HandleFunc("/directory/search", handleDirectorySearch)
r.HandleFunc("/directory", handleDirectory)
- r.HandleFunc("/garage/key", handleGarageKey)
- r.HandleFunc("/garage/website", handleGarageWebsiteList)
- r.HandleFunc("/garage/website/new", handleGarageWebsiteNew)
- r.HandleFunc("/garage/website/b/{bucket}", handleGarageWebsiteInspect)
+ r.HandleFunc("/website", handleWebsiteList)
+ r.HandleFunc("/website/new", handleWebsiteNew)
+ r.HandleFunc("/website/configure", handleWebsiteConfigure)
+ r.HandleFunc("/website/inspect/{bucket}", handleWebsiteInspect)
r.HandleFunc("/invite/new_account", handleInviteNewAccount)
r.HandleFunc("/invite/send_code", handleInviteSendCode)