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:
2022-01-27 01:15:54 +00:00
parent 7b32067b07
commit 9fd4be0e4a
6 changed files with 23 additions and 3358 deletions

View File

@ -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) {