don't check for request->is_htmx_request for sending frames, check only "frame" url paremeter

added config parameter: request_frame_parameter, default: "frame"
This commit is contained in:
2021-10-08 03:08:11 +02:00
parent 3f5eabeaa1
commit c4b5565995
4 changed files with 25 additions and 5 deletions

View File

@@ -284,6 +284,7 @@ void Config::AssignValues(bool stdout_is_closed)
ezc_max_elements = Size(L"ezc_max_elements", 50000);
ezc_max_loop_elements = Size(L"ezc_max_loop_elements", 5000);
ezc_out_streams_size = Size(L"ezc_out_streams_size", 128);
request_frame_parameter = Text(L"request_frame_parameter", L"frame");
account_need_email_verification = Bool(L"account_need_email_verification", true);
reset_password_code_expiration_time = Long(L"reset_password_code_expiration_time", 86400);