- Rename project - Add GPL3 License (RETROACTIVE) - Fill out package.json - Switch crc16 module to hopefully improve Windows end-user experience - Update README - http proxy support (with support for external proxies such as WebOne) - fix: properly handle proxy dns error - fix: proxy binary data - begin initial work on wtv-flashrom (not yet ready) - fix: typo in zefie.html - add config.service_name variable for future use - Sync servicevault files into vs project (nsjproj) file
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`;
|