We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 40bddae commit a914f30Copy full SHA for a914f30
hook.sh
@@ -1,7 +1,7 @@
1
#!/bin/bash
2
3
# DIRECTORY TO THE REPOSITORY
4
-REPOSITORY="./myRepository"
+REPOSITORY="../react-tutorials"
5
6
cd $REPOSITORY
7
index.js
@@ -40,7 +40,10 @@ http.createServer(function(req, res){
40
console.log(buff.toString('utf-8'));
41
});
42
43
- var data = JSON.stringify({"success": true});
+
44
+ res.writeHead(400, {"Content-Type": "application/json"});
45
46
+ var data = JSON.stringify({"success": true});
47
return res.end(data);
48
49
0 commit comments