var minisrv_service_file = true;
headers =`200 OK
Connection: Keep-Alive
wtv-expire-all: wtv-home:/splash
Content-type: text/html`
var cryptstatus = (wtv_encrypted ? "Encrypted" : "Not Encrypted")
var comp_type = wtvmime.shouldWeCompress(socket.ssid,'text/html');
var compstatus = "uncompressed";
switch (comp_type) {
case 1:
compstatus = "wtv-lzpf";
break;
case 2:
compstatus = "gzip (level 9)";
break;
}
var wtv_system_sysconfig = session_data.get("wtv-system-sysconfig");
var wtv_client_bootrom_version = session_data.get("wtv-client-bootrom-version");
var wtv_system_chipversion_str = session_data.get("wtv-system-chipversion");
var notImplementedAlert = new clientShowAlert({
'image': minisrv_config.config.service_logo,
'message': "This feature is not available.",
'buttonlabel1': "Okay",
'buttonaction1': "client:donothing",
'noback': true,
}).getURL();
var notAdminAlert = new clientShowAlert({
'image': minisrv_config.config.service_logo,
'message': "Sorry, you are not configured as an admin on this server.
If you are the server operator, please
see user_config.example.json
for an example on how to configure yourself as an administrator.",
'buttonlabel1': "Ugh, fine.",
'buttonaction1': "client:donothing",
'noback': true,
}).getURL();
var ownMinisrv = new clientShowAlert({
'image': minisrv_config.config.service_logo,
'message': "To run your own minisrv, please visit the following link on your PC:
https://zef.pw/minisrv",
'buttonlabel1': "Okay",
'buttonaction1': "client:donothing",
'noback': true,
}).getURL();
var supportZefieAlert = new clientShowAlert({
'image': minisrv_config.config.service_logo,
'message': "If you would like to support zefie or minisrv, please visit the following link on your PC:
https://zef.pw/helpminisrv",
'buttonlabel1': "Okay",
'buttonaction1': "client:donothing",
'noback': true,
}).getURL();
data =`\0
Home for ${session_data.getSessionData("subscriber_username") || "minisrv"}
|
|  |
|
|
|
|
|
|
|
WebTV URL, FILE, and CLIENT Access:
|
|
|
|
Mail
| Favorites
| Music
| Search
| ROMs
| Settings
| Help
| | | | | | | |
|
| » Community «
|
|
|
|
| Chat
|
|
|
|
| Discuss
|
|
|
|
|
| Messenger
|
|
|
|
|
|
| » Account «
|
|
|
|
| Relogin
|
|
|
|
|
| Configure
|
|
|
|
|
| Password
|
|
|
|
|
| Add User
|
|
|
|
|
`;
if (session_data.getSessionData("registered")) data += ` | Unregister`;
else data += ` | Register`
data += `
|
|
|
|
|
|
|
| Welcome to zefie's minisrv ${minisrv_version_string.split(" ")[3]}
|
|
|
|
This server is operated by ${minisrv_config.config.service_owner}.
|
|
| |
|
| minisrv Latest Updates
|
|
|
Added a WebTV Character Map
Redesigned homepage based on MattMan69's HackTV
Added a new minisrv logo
|
|
|
|
| » Tools «
|
|
|
|
| WTV Tricks
|
|
|
|
|
| WTV Admin
|
|
|
|
|
| Clear Cache
|
|
|
|
|
|
| » More Stuff «
|
|
|
|
| Switch server
|
|
|
|
|
| Run your own server
|
|
|
|
|
| Midnight Archives
|
|
|
|
|
| Help zefie
|
|
|
|
|
|
`
data += "\n";