- Rename project - Add GPL3 License (RETROACTIVE) - Fill out package.json - Switch crc16 module to hopefully improve Windows end-user experience - Update README
15 lines
316 B
JavaScript
15 lines
316 B
JavaScript
var gourl = "wtv-1800:/finish-prereg?";
|
|
if (query['relogin']) gourl += "relogin=true";
|
|
|
|
|
|
if (request_headers['wtv-ticket']) {
|
|
gourl = "wtv-head-waiter:/login-stage-two?";
|
|
}
|
|
|
|
headers = `200 OK
|
|
Connection: Keep-Alive
|
|
wtv-expire-all: wtv-
|
|
wtv-open-isp-disabled: false
|
|
wtv-visit: `+ gourl + `
|
|
Content-type: text/html`;
|