From af67dab96747c7d83380e67de91dd25f46e9681f Mon Sep 17 00:00:00 2001 From: vnugent Date: Sat, 16 Dec 2023 12:09:33 -0500 Subject: fixes, image preview, and prep for framework update --- ci/config/Essentials.Accounts.json | 4 ++-- ci/config/config.json | 13 +++++++++++-- 2 files changed, 13 insertions(+), 4 deletions(-) (limited to 'ci/config') diff --git a/ci/config/Essentials.Accounts.json b/ci/config/Essentials.Accounts.json index 47ab0fb..b28caf4 100644 --- a/ci/config/Essentials.Accounts.json +++ b/ci/config/Essentials.Accounts.json @@ -63,8 +63,8 @@ //Path/domain for all security cookies "cookie_domain": "", "cookie_path": "/", - "status_cookie_name": "li", - "otp_header_name": "X-Web-Token", + "status_cookie_name": "li", //front-end cookie name must match to detect login status + "otp_header_name": "X-Web-Token", //Front-end header name must match "otp_time_diff_sec": 30, "otp_key_size": 64, "pubkey_cookie_name": "client-id", diff --git a/ci/config/config.json b/ci/config/config.json index 931c56b..037c1a5 100644 --- a/ci/config/config.json +++ b/ci/config/config.json @@ -31,7 +31,9 @@ //Time in ms to wait for the client to accept transport data before terminating the connection "send_timeout_ms": 60000, //The size (in bytes) of the buffer used to store all response header data - "response_header_buf_size": 16384 + "response_header_buf_size": 16384, + //Max number of file uploads allowed per request + "max_uploads_per_request": 10 }, //Path to managed compressor library @@ -102,7 +104,14 @@ }, //A list of error file objects, files are loaded into memory (and watched for changes) and returned when the specified error code occurs - "error_files": [], + "error_files": [ + /* + { + "code": 404, + "path": "404.html" + }, + */ + ], //The default "cache_default_sec": 864000 -- cgit