Wow, load was slow because websocket sends were slow, because TextEcoder was slow. Do it in C.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3796 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
@ -121,7 +121,7 @@ function authHandler(request, response) {
|
||||
response.end();
|
||||
} else {
|
||||
File.readFile("core/auth.html").then(function(data) {
|
||||
var html = new TextDecoder("UTF-8").decode(data);
|
||||
var html = utf8Decode(data);
|
||||
var contents = "";
|
||||
|
||||
if (entry) {
|
||||
|
Reference in New Issue
Block a user