로그 추가

This commit is contained in:
2023-06-23 16:27:31 +09:00
parent 7bee78a875
commit 6d02eb092c

View File

@ -606,6 +606,8 @@ func (sh *serviceDescription) ServeHTTP(w http.ResponseWriter, r *http.Request)
r.Body.Close()
}()
logger.Println("serviceDesc :", sh.ServiceCode, r.URL.Path)
if strings.HasSuffix(r.URL.Path, "/auth") {
sh.authorize(w, r)
} else if strings.HasSuffix(r.URL.Path, "/link") {