Browse Source

Adds encoding for test server index page.

Yury Delendik 10 years ago
parent
commit
4ec132a2ba
  1. 2
      test/webserver.js

2
test/webserver.js

@ -174,7 +174,7 @@ WebServer.prototype = {
res.end(); res.end();
return; 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 !== '/') { if (pathPart !== '/') {
res.write('<a href=\"..\">..</a><br>\n'); res.write('<a href=\"..\">..</a><br>\n');
} }

Loading…
Cancel
Save