- wtv-cookie support - further development will be in dev branch (may rebase alot) - compression not yet ready, leave it disabled - update: do not delete WTVSec on last socket, instead recreate on prereg - update: clean up SSID session data only if client is not seen for 3 minutes - update: add shouldWeCompress() function - update: tweak lzpf (still corrupted) - update: rename wtv-setup:/get to wtv-setup:/get-settings - update: add additional headers to wtv-setup:/get-settings - update: add initial blank wtv-music:/get-playlist - update wtv-tricks system - Info now shows Guest Mode or Subscriber Info - Implemented wtv-tricks:/unregister - Implemented wtv-tricks:/register - Show correct link in wtv-tricks:/tricks based on Guest Mode status - config.json: enable compression by default - WTVP does not use \r, so swapping the internal header's usage for now. May remove internal header in future update - lzpf: this doesn't fix anything but doesn't break it more either :) - renamed some functions - fixed some param documentation - added ConvertToBuffer function - WTVSec Updates - optimize WordArray to Buffer functions - update documentation in WTVSec - update WTVSec barrowed function in WTVLzpf - removed NewRC4Session, was a pointless alias to SecureOn
33 lines
852 B
JavaScript
33 lines
852 B
JavaScript
headers = `200 OK
|
|
Connection: Keep-Alive
|
|
wtv-expire-all: wtv-
|
|
wtv-expire-all: http
|
|
Content-Type: text/html`
|
|
|
|
data = `<html>
|
|
<head>
|
|
<display hideoptions nostatus showwhencomplete skipback clearback fontsize=medium>
|
|
<title>Engaging zefie...</title>
|
|
<meta http-equiv=Refresh content="4; url=wtv-register:/register?">
|
|
</head>
|
|
<body bgcolor="#000000" text="#449944">
|
|
<bgsound src="file://ROM/Sounds/Splash.mid">
|
|
<center>
|
|
<spacer type=block height=88 width=21>
|
|
<img src="file://ROM/Images/spacer.gif" height=4><br>
|
|
<img src="${minisrv_config.config.service_splash_logo}">
|
|
<br><br><br>
|
|
<p><br>
|
|
<p><br>
|
|
<table border>
|
|
<tr><td width=150>
|
|
Mini service
|
|
<tr><td>
|
|
zefie minisrv v${minisrv_config.version}`;
|
|
if (minisrv_config.config.git_commit) data += " (git " + minisrv_config.config.git_commit + ")";
|
|
data += `
|
|
<tr><td>&rate;
|
|
</table>
|
|
</center>
|
|
</body>
|
|
</html>`; |