- convert post_data to query if valid query data - wtv-register system - Store Session data as JSON flat file - wtv-cookie support - spent way too much time on a page no one will read - move filterSSID to WTVClientSessionData - disable compression until fixed - do not delete WTVSec on last socket, instead recreate on prereg - set 'wtv-bypass-proxy' to false - rework header whitelist system for HTTP(s) proxy - clean up SSID session data only if client is not seen for 3 minutes - add shouldWeCompress() function - add additional headers to wtv-setup:/get - add initial blank wtv-music:/get-playlist - update: WTVClientCapabilities: add unknown bits instead of logging error - update: fix flashrom system - update: webone example config - update: app.js: more 'binary block' exclusions - update: fix tellyscript folder name for case-sensitive filesystems - add Lzpf compression
23 lines
673 B
JavaScript
23 lines
673 B
JavaScript
headers = `200 OK
|
|
wtv-expire-all: wtv-
|
|
wtv-expire-all: http
|
|
Content-type: text/html`
|
|
|
|
var visit_url = null;
|
|
|
|
if (request_headers.Referer) visit_url = request_headers.Referer;
|
|
else if (request_headers.query.return_to) visit_url = unescape(request_headers.query.return_to);
|
|
else visit_url = "client:goback";
|
|
|
|
data = `<html>
|
|
<head>
|
|
<meta
|
|
http-equiv=refresh
|
|
content="1; url=`+ visit_url +`"
|
|
>
|
|
<body bgcolor="black" text="gold" link="gold" vlink="gold" alink="gold">
|
|
Successfully expired service URL cache<br>
|
|
Any previously cached pages should be reloaded from the network.<br><br>
|
|
<a href="`+visit_url+`">Not loading? Click here.</a>
|
|
</body>
|
|
</html>`; |