Test post-receive hook
parent
8ff625cb13
commit
d88efa3ab7
|
|
@ -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!');
|
||||
})
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue