]> Cypherpunks repositories - gostls13.git/commitdiff
drop trailing slashes - missed comment from last review
authorRob Pike <r@golang.org>
Wed, 18 Feb 2009 03:59:23 +0000 (19:59 -0800)
committerRob Pike <r@golang.org>
Wed, 18 Feb 2009 03:59:23 +0000 (19:59 -0800)
TBR=rsc
OCL=25135
CL=25135

src/lib/http/triv.go

index 666f2b204ae40c1f988f8194d66e5b33d4668bd1..ea17d15ba2f5119f6e696ff2403232516bdeef84 100644 (file)
@@ -87,8 +87,8 @@ func main() {
        flag.Parse();
        http.Handle("/counter", new(Counter));
        http.Handle("/go/", http.HandlerFunc(FileServer));
-       http.Handle("/flags/", http.HandlerFunc(FlagServer));
-       http.Handle("/args/", http.HandlerFunc(ArgServer));
+       http.Handle("/flags", http.HandlerFunc(FlagServer));
+       http.Handle("/args", http.HandlerFunc(ArgServer));
        http.Handle("/go/hello", http.HandlerFunc(HelloServer));
        http.Handle("/chan", ChanCreate());
        err := http.ListenAndServe(":12345", nil);