does url enoced

This commit is contained in:
jane 2021-06-06 01:56:52 -04:00
parent 14a44082ef
commit 2b20d62e79

View file

@ -60,6 +60,7 @@ app.get("/indexes/:project(\\w+)", (req, res) => {
}); });
app.use(express.text()); app.use(express.text());
app.use(express.urlencoded());
function diff(current, checked) { function diff(current, checked) {
let lines_current = current.split('\n').map(l => l.trim()).filter(l => l != ""); let lines_current = current.split('\n').map(l => l.trim()).filter(l => l != "");