fix: wtv-head-waiter:/login-stage-two: usernames longerfix: build 3833 crashes when wtv-user-name is too long

This commit is contained in:
zefie
2021-07-22 08:42:11 -04:00
parent adca09f9e3
commit 88784e253c
2 changed files with 11 additions and 18 deletions

View File

@@ -2,7 +2,7 @@ headers = `200 OK
Connection: Keep-Alive
wtv-expire-all: wtv-
wtv-expire-all: http
Content-type: text/html`
Content-Type: text/html`
data = `<html>
<head>
@@ -25,12 +25,11 @@ Mini service
<tr><td>
zefie minisrv v${minisrv_config.version}`;
if (getGitRevision()) {
data += ` (git ` + getGitRevision().substring(0,8) + `)`;
data += " (git " + getGitRevision().substring(0, 8) + ")";
}
data += `
<tr><td>&rate;
</table>
</center>
</body>
</html>
`;
</html>`;