|
|
@@ -248,7 +248,7 @@ func handler(resp http.ResponseWriter, req *http.Request) { |
|
|
|
log.Printf("%s requested %s", req.RemoteAddr, req.URL) |
|
|
|
|
|
|
|
if req.URL.Path == "/" { |
|
|
|
resp.Header().Set("Location", "http://labix.org/gopkg.in") |
|
|
|
resp.Header().Set("Location", "https://code.as/abunchtell/gopkg") |
|
|
|
resp.WriteHeader(http.StatusTemporaryRedirect) |
|
|
|
return |
|
|
|
} |
|
|
|