- numerous bug fixes - wtv-news goodies, ready for local testing - custom patched nntp-server node module with support for POSTing - should be able to post locally - 4 groups are made by default - can override in user_config.json (look at the config.json changes but dont do them there) - can sync down from an upstream server with sync_nntp.js - sync does not push new posts to upstream yet
15 lines
543 B
JavaScript
15 lines
543 B
JavaScript
var minisrv_service_file = true;
|
|
|
|
if (request_headers.query && session_data) {
|
|
var signature = session_data.getSessionData("subscriber_signature");
|
|
if (request_headers.query.mail_signature != signature) {
|
|
session_data.setSessionData("subscriber_signature", (request_headers.query.mail_signature) ? request_headers.query.mail_signature : "");
|
|
session_data.saveSessionData();
|
|
}
|
|
headers = `200 OK
|
|
Content-type: text/html`
|
|
} else {
|
|
var outdata = doErrorPage();
|
|
headers = outdata[0];
|
|
data = outdata[1];
|
|
} |