Update main.js
This commit is contained in:
parent
86b826788e
commit
6a4e5f10a8
|
@ -279,6 +279,7 @@ http.createServer((req, res) => {
|
||||||
res.writeHead(301, {
|
res.writeHead(301, {
|
||||||
Location: req.headers.host + '/' + rows[0][0].id
|
Location: req.headers.host + '/' + rows[0][0].id
|
||||||
});
|
});
|
||||||
|
res.end();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
else if(filePath == "./how") {
|
else if(filePath == "./how") {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user