From af181e38e77d9c16f6b1f499f8f0b85bd911b8d2 Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Wed, 20 Sep 2017 22:57:15 -0400 Subject: [PATCH] Fix contentType -> Content-Type --- server.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/server.js b/server.js index 450db2d..c9762ed 100644 --- a/server.js +++ b/server.js @@ -67,7 +67,7 @@ function sendIndex(res) { `; - res.writeHead(200, {'contentType': 'text/html; charset=utf-8'}); + res.writeHead(200, {'Content-type': 'text/html; charset=utf-8'}); res.end(html, 'utf-8'); } @@ -81,7 +81,7 @@ function sendDeckIndex(res, deckName) { Play! `; - res.writeHead(200, {'contentType': 'text/html; charset=utf-8'}); + res.writeHead(200, {'Content-type': 'text/html; charset=utf-8'}); res.end(html, 'utf-8'); } @@ -101,7 +101,7 @@ function sendPlayfield(res, deckName) { `; - res.writeHead(200, {'contentType': 'text/html; charset=utf-8'}); + res.writeHead(200, {'Content-type': 'text/html; charset=utf-8'}); res.end(html, 'utf-8'); }