Update index.js
This commit is contained in:
parent
978beb49a9
commit
6686869586
15
index.js
15
index.js
|
@ -14,9 +14,22 @@ async function handleRequest(request) {
|
|||
})
|
||||
else
|
||||
return new Response(
|
||||
'<html><head><ttile>DF Community URL Shortner</title></head><body>404 not found !! Check all possible at https://links.dfcommunity.win/all-urls</body></html>',
|
||||
`<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>DF Community URL Shortner</title>
|
||||
</head>
|
||||
<body>
|
||||
404 not found !! Check all possible at
|
||||
https://links.dfcommunity.win/all-urls
|
||||
</body>
|
||||
</html>
|
||||
`,
|
||||
{
|
||||
status: 404,
|
||||
headers: { 'content-type': 'text/html' },
|
||||
},
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue