Files
minisrv/zefie_wtvp_minisrv/ServiceVault/wtv-setup/validate-tweaks.js
zefie b89e0e932c v0.9.35
- 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
2022-11-29 08:29:31 -05:00

13 lines
307 B
JavaScript

var minisrv_service_file = true;
var fast_splash = wtvshared.parseBool(request_headers.query.fast_splash);
session_data.setSessionData("fast_splash", fast_splash);
session_data.saveSessionData();
headers = `200 OK
Connection: Keep-Alive
wtv-expire-all: wtv-
wtv-expire-all: http
Content-Type: text/html`