Удалено логирование ожидаемой ошибки с несуществованием скина в redis.

This commit is contained in:
ErickSkrauch
2016-08-26 23:45:55 +03:00
parent 89ea6e5ee8
commit 4bdab704a5
4 changed files with 27 additions and 5 deletions

View File

@@ -1,6 +1,7 @@
package routes
import (
"log"
"net/http"
"github.com/gorilla/mux"
@@ -10,6 +11,7 @@ import (
func Cape(w http.ResponseWriter, r *http.Request) {
username := tools.ParseUsername(mux.Vars(r)["username"])
log.Println("request cape for username " + username)
http.Redirect(w, r, "http://skins.minecraft.net/MinecraftCloaks/" + username + ".png", 301)
}