wtvsec: use initial key for ticket signing update: initial work for future ability to update wtv-ticket to client update: wtv-flashrom: use zefie server only if file does not exist locally (allows both zefie server roms and local roms) update: wtv-flashrom:/get-lc2-path: experimental 'Cancel Update' button fix: wtv-tricks:/blastcache: return_to was not unescaped
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>`; |