wip
This commit is contained in:
@ -219,7 +219,7 @@ func main() {
|
|||||||
fmt.Println(decodedIamge)
|
fmt.Println(decodedIamge)
|
||||||
|
|
||||||
image = buf.Bytes()
|
image = buf.Bytes()
|
||||||
} else if contentType == "application/oclet-stream" {
|
} else if contentType == "application/oclet-stream" || contentType == "image/png" {
|
||||||
bodyData, err := io.ReadAll(r.Body)
|
bodyData, err := io.ReadAll(r.Body)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Println(err)
|
log.Println(err)
|
||||||
|
Reference in New Issue
Block a user