aboutsummaryrefslogtreecommitdiff
path: root/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'index.html')
-rw-r--r--index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.html b/index.html
index 3739c6f..28a02fc 100644
--- a/index.html
+++ b/index.html
@@ -161,7 +161,7 @@ function run() {
req.onreadystatechange = function() {
switch (req.status) {
case 200:
- if (req.getResponseHeader("Content-Type") === "img/png") {
+ if (req.getResponseHeader("Content-Type") === "image/png") {
output.innerHTML = '<img src="data:image/png;base64,' + req.responseText + '"/>';
} else {
output.innerHTML = req.responseText;