From 4f3e815d30ba25f562d3848ccbee1b54d96f5ee8 Mon Sep 17 00:00:00 2001 From: "Glitch (hello-express)" Date: Fri, 29 Jun 2018 19:22:21 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=8C=94=F0=9F=98=BA=20Checkpoint=20./serve?= =?UTF-8?q?r.js:334152/7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.js b/server.js index 22e1ed5..b1dbe0c 100644 --- a/server.js +++ b/server.js @@ -12,7 +12,7 @@ var app = express(); app.use(express.static('public')); // http://expressjs.com/en/starter/basic-routing.html -app.get("/", function (request, response) { +app.get('/', function(request, response) { response.sendFile(__dirname + '/views/index.html'); });