Adds encoding for test server index page.

This commit is contained in:
Yury Delendik 2015-01-07 21:35:48 -06:00
parent 3a540ca120
commit 4ec132a2ba

View File

@ -174,7 +174,7 @@ WebServer.prototype = {
res.end();
return;
}
res.write('<html><body><h1>PDFs of ' + pathPart + '</h1>\n');
res.write('<html><head><meta charset=\"utf-8\"></head><body><h1>PDFs of ' + pathPart + '</h1>\n');
if (pathPart !== '/') {
res.write('<a href=\"..\">..</a><br>\n');
}