post security
This commit is contained in:
parent
ada6bd08e5
commit
8fd60da943
2
app.js
2
app.js
|
|
@ -5,7 +5,7 @@ const PORT = 8080;
|
||||||
const server = http.createServer((req, res) => {
|
const server = http.createServer((req, res) => {
|
||||||
if (req.method === 'GET' && req.url === '/') {
|
if (req.method === 'GET' && req.url === '/') {
|
||||||
res.writeHead(200, { 'Content-Type': 'text/plain' });
|
res.writeHead(200, { 'Content-Type': 'text/plain' });
|
||||||
res.end('7thhh updateee Hello World');
|
res.end('post security fixes updateee Hello World');
|
||||||
} else {
|
} else {
|
||||||
res.writeHead(404, { 'Content-Type': 'text/plain' });
|
res.writeHead(404, { 'Content-Type': 'text/plain' });
|
||||||
res.end('Not Found');
|
res.end('Not Found');
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user