chore: setup project for production
This commit is contained in:
17
app/not-found.js
Normal file
17
app/not-found.js
Normal file
@@ -0,0 +1,17 @@
|
||||
import Link from 'next/link'
|
||||
import { headers } from 'next/headers'
|
||||
|
||||
export default async function NotFound() {
|
||||
const headersList = headers()
|
||||
const domain = headersList.get('host')
|
||||
|
||||
return (
|
||||
<div className=' flex items-center justify-center flex-col h-96'>
|
||||
<h2>Not Found:</h2>
|
||||
<p>Could not find requested resource</p>
|
||||
<p>
|
||||
<Link href="/">Back to home</Link>
|
||||
</p>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user