diff --git a/index.js b/index.js index fc69c6c..8acf44c 100644 --- a/index.js +++ b/index.js @@ -140,10 +140,10 @@ app.get("/search", async (req, res) => { res.write(addedHTML + html.substring(html.indexOf("{RESULTS}") + 9), () => {res.end()}) }) -// process.on('uncaughtException', (err, origin) => { -// fs.writeSync( -// process.stderr.fd, -// `Caught exception: ${err}\n` + -// `Exception origin: ${origin}`, -// ); -// }); \ No newline at end of file +process.on('uncaughtException', (err, origin) => { + fs.writeSync( + process.stderr.fd, + `Caught exception: ${err}\n` + + `Exception origin: ${origin}`, + ); +}); \ No newline at end of file diff --git a/resources/mainPage.html b/resources/mainPage.html index 029a6c5..5bbcd7c 100644 --- a/resources/mainPage.html +++ b/resources/mainPage.html @@ -19,7 +19,7 @@
- +
diff --git a/resources/searchPage.html b/resources/searchPage.html index f77e022..af17bb3 100644 --- a/resources/searchPage.html +++ b/resources/searchPage.html @@ -19,7 +19,7 @@
- +