diff options
| author | Rob Pike <r@golang.org> | 2009-02-17 19:59:23 -0800 |
|---|---|---|
| committer | Rob Pike <r@golang.org> | 2009-02-17 19:59:23 -0800 |
| commit | 6950491b4f0475f488a3a47b8d7771131cd2e8e7 (patch) | |
| tree | 68372acde617b95f1ebbb54db0d61d922091bb3c /src/lib/http | |
| parent | 03d6909ff74d9793b98f587717d5dbd76a4589d5 (diff) | |
| download | go-6950491b4f0475f488a3a47b8d7771131cd2e8e7.tar.xz | |
drop trailing slashes - missed comment from last review
TBR=rsc
OCL=25135
CL=25135
Diffstat (limited to 'src/lib/http')
| -rw-r--r-- | src/lib/http/triv.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/http/triv.go b/src/lib/http/triv.go index 666f2b204a..ea17d15ba2 100644 --- a/src/lib/http/triv.go +++ b/src/lib/http/triv.go @@ -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); |
