aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2023-09-15 18:25:37 +0200
committerQuentin Dufour <quentin@deuxfleurs.fr>2023-09-15 18:25:37 +0200
commit5b246ec86bc3eee768da2347f031b349d1e1553d (patch)
tree4f79ff571729b7a61f8f0aac2d5819e48a8bcb66 /main.go
parente876bdd6632e0f00e2973cfba5336128ef00a3ab (diff)
downloadguichet-5b246ec86bc3eee768da2347f031b349d1e1553d.tar.gz
guichet-5b246ec86bc3eee768da2347f031b349d1e1553d.zip
basic logic for switching alias from local/global
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 1402ff2..8bfb2f8 100644
--- a/main.go
+++ b/main.go
@@ -130,7 +130,7 @@ func main() {
r.HandleFunc("/", handleHome)
r.HandleFunc("/logout", handleLogout)
- r.HandleFunc("/api/unstable/garage/bucket/{b}", handleAPIGarageBucket)
+ r.HandleFunc("/api/unstable/garage/bucket/{bucket}", handleAPIGarageBucket)
r.HandleFunc("/profile", handleProfile)
r.HandleFunc("/passwd", handlePasswd)