fixed /api/hid/print timeout with slow typing

This commit is contained in:
Maxim Devaev 2025-04-04 14:37:53 +03:00
parent 45ff6cb7c7
commit 71617cc62a
2 changed files with 2 additions and 1 deletions

View File

@ -66,6 +66,7 @@ location /api/hid/print {
proxy_pass http://kvmd;
include /etc/kvmd/nginx/loc-proxy.conf;
include /etc/kvmd/nginx/loc-bigpost.conf;
proxy_read_timeout 7d;
auth_request off;
}

View File

@ -84,7 +84,7 @@ export function Paste(__recorder) {
} else if (http.status === 200) {
__recorder.recordPrintEvent(text, keymap, slow);
}
}, text, "text/plain");
}, text, "text/plain", 7 * 24 * 3600);
};
if ($("hid-pak-ask-switch").checked) {