mirror of
https://github.com/MathMan05/Fermi.git
synced 2026-07-30 03:09:22 +00:00
fix html weirdness
This commit is contained in:
@@ -84,14 +84,15 @@ async function inviteres(req,res){
|
||||
return JSON.stringify(s);
|
||||
}
|
||||
html=`
|
||||
<body>
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>${htmlEnc(title)}</title>
|
||||
<meta content=${strEscape(title)} property="og:title" />
|
||||
<meta content=${strEscape(description)} property="og:description" />
|
||||
<meta content=${strEscape(icon)} property="og:image" />
|
||||
</head>
|
||||
</body>
|
||||
</html>
|
||||
`
|
||||
res.type('html');
|
||||
res.send(html);
|
||||
|
||||
Reference in New Issue
Block a user