var minisrv_service_file = true; headers =`200 OK Connection: Keep-Alive wtv-expire-all: wtv-home:/splash wtv-expire-all: wtv-flashrom: Content-type: text/html` if (request_headers.query.url) headers += "\nwtv-visit: " + request_headers.query.url; var cryptstatus = (wtv_encrypted ? "Encrypted" : "Not Encrypted") var comp_type = wtvmime.shouldWeCompress(session_data,'text/html'); var compstatus = "uncompressed"; switch (comp_type) { case 1: compstatus = "wtv-lzpf"; break; case 2: compstatus = "gzip (level 9)"; break; } var unread_mailcount = session_data.mailstore.countUnreadMessages(0) var mailbox_gif_num = 0; // no messages if (unread_mailcount > 0) { if (unread_mailcount == 1) mailbox_gif_num = 1; else mailbox_gif_num = 2; } data = `
| ||||||
| ||||||
| ||||||
| ||||||
| ||||||
| ||||||
| ||||||
| ||||||
| ||||||
| ||||||
| `; } data += ` | ||||||
|
| ||||||
| |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
| Connection Speed: &rate; | |||||||||||||||||||||||||||||
|
minisrv v${minisrv_config.version}${(minisrv_config.config.git_commit) ? ' git-' + minisrv_config.config.git_commit : ''}, hosted by ${minisrv_config.config.service_owner} | |||||||||||||||||||||||||||||