From d88efa3ab75874b9362bdc5baca1508bc2eb8b70 Mon Sep 17 00:00:00 2001 From: Dan Date: Wed, 20 Sep 2017 20:40:11 -0600 Subject: [PATCH] Test post-receive hook --- Server/src/app.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Server/src/app.js b/Server/src/app.js index 1c756ad..cb9796b 100644 --- a/Server/src/app.js +++ b/Server/src/app.js @@ -6,6 +6,10 @@ const path = require('path'); const { execFile } = require('child_process'); const fs = require('fs'); +app.get('/secret',function(req,res){ + res.json("You found the secret!"); +}); + app.use(cookieParser("df88&DK!!Odmsk.snsh!~dsf00)SDF'")); app.use(bodyParser.urlencoded({ extended: false})); app.use(bodyParser.json()); @@ -24,6 +28,6 @@ app.get('/*', function (req, res) { }) app.listen(25776, function () { - console.log('Example app listening on port 3000!'); + console.log('listening on port 25776!'); })