Update main.js

This commit is contained in:
Flummi 2016-08-16 18:25:47 +00:00
parent 86b826788e
commit 6a4e5f10a8

View File

@ -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") {