mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-20 15:18:08 +02:00
Adds encoding for test server index page.
This commit is contained in:
parent
3a540ca120
commit
4ec132a2ba
1 changed files with 1 additions and 1 deletions
|
@ -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');
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue