Adds encoding for test server index page.
This commit is contained in:
		
							parent
							
								
									3a540ca120
								
							
						
					
					
						commit
						4ec132a2ba
					
				@ -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…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user