로그 추가
This commit is contained in:
@ -606,6 +606,8 @@ func (sh *serviceDescription) ServeHTTP(w http.ResponseWriter, r *http.Request)
|
|||||||
r.Body.Close()
|
r.Body.Close()
|
||||||
}()
|
}()
|
||||||
|
|
||||||
|
logger.Println("serviceDesc :", sh.ServiceCode, r.URL.Path)
|
||||||
|
|
||||||
if strings.HasSuffix(r.URL.Path, "/auth") {
|
if strings.HasSuffix(r.URL.Path, "/auth") {
|
||||||
sh.authorize(w, r)
|
sh.authorize(w, r)
|
||||||
} else if strings.HasSuffix(r.URL.Path, "/link") {
|
} else if strings.HasSuffix(r.URL.Path, "/link") {
|
||||||
|
|||||||
Reference in New Issue
Block a user