Skip to content

Commit

Permalink
godoc/short: point to new tracking issue for shortlink creation
Browse files Browse the repository at this point in the history
There's a new dedicated issue tracking this task, point to it instead
of the previous large issue which has been closed by now.

Updates golang/go#29988
Updates golang/go#27205

Change-Id: Ib1443d14a6369322b36cdf8305344a35c421a2e5
Reviewed-on: https://go-review.googlesource.com/c/160377
Reviewed-by: Agniva De Sarker <[email protected]>
Reviewed-by: Brad Fitzpatrick <[email protected]>
  • Loading branch information
dmitshur committed Jan 30, 2019
1 parent a06a922 commit 1c35819
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions godoc/short/short.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,11 @@ func RegisterHandlers(mux *http.ServeMux, dc *datastore.Client, mc *memcache.Cli
// TODO(cbro): move storage of the links to a text file in Gerrit.
// Disable the admin handler until that happens, since GAE Flex doesn't support
// the "google.golang.org/appengine/user" package.
// See golang.org/issue/27205#issuecomment-418673218
// See golang.org/issue/29988 and golang.org/issue/27205#issuecomment-418673218.
// mux.HandleFunc(prefix, adminHandler)
mux.HandleFunc(prefix, func(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusForbidden)
io.WriteString(w, "Link creation temporarily unavailable. See golang.org/issue/27205.")
io.WriteString(w, "Link creation temporarily unavailable. See golang.org/issue/29988.")
})
}

Expand Down

0 comments on commit 1c35819

Please sign in to comment.