if (request_headers.query.noreg) { headers = `300 Moved Connection: Close wtv-noback-all: wtv-register: wtv-expire-all: wtv- wtv-ticket: ${ssid_sessions[socket.ssid].data_store.wtvsec_login.ticket_b64} wtv-service: reset ${getServiceString('wtv-1800')} wtv-relogin-url: wtv-1800:/preregister?guest_login=true wtv-reconnect-url: wtv-1800:/preregister?guest_login=true&reconnect=true wtv-boot-url: wtv-1800:/preregister?guest_login=true Location: client:relogin`; } else if (!request_headers.query.registering) { var errpage = doErrorPage(400); headers = errpage[0]; data = errpage[1]; } else { headers = `200 OK wtv-noback-all: wtv- Content-Type: text/html`; data = ` Using ${minisrv_config.config.service_name}
Welcome
Before we can begin collecting information for your account on the ${minisrv_config.config.service_name} Mini Service, you must first agree to the Terms of Service.

The next screen will allow you to review, accept, or decline the Terms of Service for the ${minisrv_config.config.service_name} Mini Service.

`; }