Skip to content

Commit

Permalink
Having the server return the hash, so it can be copied and used again
Browse files Browse the repository at this point in the history
  • Loading branch information
patbeagan1 committed Jan 31, 2022
1 parent 860748a commit 284c017
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/main/kotlin/dev/patbeagan/consolevision/Router.kt
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ object Router {

printFrame
.also { println(it) }
.let { call.respondText(it) }
.let { call.respondText("$it\n${DigestUtils.md5Hex(scaledImage.getByteData())}") }
} else {
call.respondText("Could not process the image.")
}
Expand Down

0 comments on commit 284c017

Please sign in to comment.