add blank <link rel=icon> to prevent requests for favicon
This commit is contained in:
parent
acbd8992a8
commit
1fff807da3
2
sfs.js
2
sfs.js
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue