From 51ffb7d3089339c12d855247f556c87ecaa26671 Mon Sep 17 00:00:00 2001 From: jh Date: Sun, 21 Mar 2021 15:51:13 -0700 Subject: [PATCH] fix: update content type --- flaskr/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flaskr/app.py b/flaskr/app.py index 826b941..ab60886 100644 --- a/flaskr/app.py +++ b/flaskr/app.py @@ -20,7 +20,7 @@ def create_flask_app(s2c, c2s, s2flask, kwargs): frame = open(preview_file, 'rb').read() except: pass - yield b'--frame\r\nContent-Type: image/jpeg\r\n\r\n' + yield b'--frame\r\nContent-Type: image/png\r\n\r\n' yield frame yield b'\r\n\r\n'