Decrease the bad request timeout, as I've tripped it myself occasionally. And let the iframe hit the WebSerial interface. I might have a fun use for that.

git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3917 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
2022-06-20 19:50:03 +00:00
parent 718383205b
commit 474ff9cd74
2 changed files with 2 additions and 2 deletions

View File

@ -364,7 +364,7 @@ function badRequest(client, reason) {
var old = gBadRequests[client.peerName];
if (!old) {
gBadRequests[client.peerName] = {
expire: new Date(now.getTime() + 10 * 60 * 1000),
expire: new Date(now.getTime() + 1 * 60 * 1000),
count: 1,
reason: reason,
};