re add console limiting
This commit is contained in:
parent
03b5e452a0
commit
1aecfe81bc
1 changed files with 4 additions and 0 deletions
|
@ -123,6 +123,10 @@ const parse = (req) => {
|
|||
|
||||
const render = () => {
|
||||
|
||||
if (requests.length > 200) {
|
||||
requests.splice(0, 100)
|
||||
}
|
||||
|
||||
const html = `
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
|
Loading…
Reference in a new issue