Test post-receive hook

Transactions
Dan 2017-09-20 20:40:11 -06:00
parent 8ff625cb13
commit d88efa3ab7
1 changed files with 5 additions and 1 deletions

View File

@ -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!');
})