summaryrefslogtreecommitdiffstats
path: root/roseh.moe.go
diff options
context:
space:
mode:
Diffstat (limited to 'roseh.moe.go')
-rw-r--r--roseh.moe.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/roseh.moe.go b/roseh.moe.go
index 9daecb5..5a35147 100644
--- a/roseh.moe.go
+++ b/roseh.moe.go
@@ -906,9 +906,9 @@ func main() {
mux.HandleFunc("POST /login", login)
mux.HandleFunc("GET /notepad", notepad)
mux.HandleFunc("POST /notepad", autosave)
- mux.HandleFunc("GET /cmd", cmdIndex)
+ mux.HandleFunc("GET /cmd/", cmdIndex)
mux.HandleFunc("GET /cmd/{cmd}", cmd)
- mux.HandleFunc("GET /pkg", pkgIndex)
+ mux.HandleFunc("GET /pkg/", pkgIndex)
mux.HandleFunc("GET /pkg/{pkg}", pkg)
mux.Handle("GET /code/", http.StripPrefix("/code/", http.FileServer(http.Dir(*codeDir))))
mux.HandleFunc("GET /static/", static)