From 9a3aabda9fa2ab9c1ace01f3ede209a0f8b1f076 Mon Sep 17 00:00:00 2001
From: Michael Jackson <mj@mjackson.me>
Date: Tue, 15 May 2018 18:21:09 -0700
Subject: [PATCH] Re-enable serving HTML

Fixes #94
---
 server/actions/serveFile.js | 2 --
 1 file changed, 2 deletions(-)

diff --git a/server/actions/serveFile.js b/server/actions/serveFile.js
index c9734f6..73d9456 100644
--- a/server/actions/serveFile.js
+++ b/server/actions/serveFile.js
@@ -78,8 +78,6 @@ function serveFile(req, res) {
 
     let contentType = getFileContentType(file);
 
-    if (contentType === "text/html") contentType = "text/plain"; // We can't serve HTML because bad people :(
-
     if (contentType === "application/javascript" && req.query.module != null) {
       // Serve a JavaScript module.
       rewriteBareModuleIdentifiers(file, req.packageConfig, (error, code) => {