🌔😺 Checkpoint

./server.js:334152/7
This commit is contained in:
Glitch (hello-express) 2018-06-29 19:22:21 +00:00
parent 0a230d3752
commit 4f3e815d30

View File

@ -12,7 +12,7 @@ var app = express();
app.use(express.static('public')); app.use(express.static('public'));
// http://expressjs.com/en/starter/basic-routing.html // http://expressjs.com/en/starter/basic-routing.html
app.get("/", function (request, response) { app.get('/', function(request, response) {
response.sendFile(__dirname + '/views/index.html'); response.sendFile(__dirname + '/views/index.html');
}); });