alan
/
sfs
1
Fork 0

add blank <link rel=icon> to prevent requests for favicon

This commit is contained in:
Alan Faubert 2022-07-27 17:50:38 -04:00
parent acbd8992a8
commit 1fff807da3
1 changed files with 2 additions and 0 deletions

2
sfs.js
View File

@ -15,6 +15,7 @@ const send_error = (res, code, message) => {
<html>
<head>
<title>${code}: ${message}</title>
<link rel="icon" href="data:,">
</head>
<body>
<h1>${code}: ${message}</h1>
@ -121,6 +122,7 @@ http
<html>
<head>
<title>${req.headers.host + decodeURIComponent(req.url)}</title>
<link rel="icon" href="data:,">
</head>
<body>
<h1>${req.headers.host + decodeURIComponent(req.url)}</h1>