diff --git a/app/backend/binary.go b/app/backend/binary.go index 23956fa..50d22b9 100644 --- a/app/backend/binary.go +++ b/app/backend/binary.go @@ -44,7 +44,7 @@ func instagramHandleExists(username string, bypass ...bool) string { utils.Logger.Infof("Checking Insta account: %v", username) records, _ := db.GetRecords(db.QueryOptions{Where: fmt.Sprintf(`handle='%v'`, username)}) if len(records) > 0 && len(bypass) == 0 { - utils.Logger.Infof("Using stored value") + utils.Logger.Infof("Using stored value from DB") return records[0].URL } url := fmt.Sprintf("https://www.instagram.com/%s/", username) @@ -92,6 +92,7 @@ func BinaryHandler(w http.ResponseWriter, req *http.Request) { var handle string var err error if binaryInput == "" { + utils.Logger.Infof("Got Request for Text to Binary") asciiInput := req.URL.Query().Get("text") if asciiInput == "" { fmt.Fprintf(w, "Could not encode or decode!\n") @@ -101,6 +102,7 @@ func BinaryHandler(w http.ResponseWriter, req *http.Request) { fmt.Fprintf(w, "%v\n", GetFancyResponse(`
`+text+`