Merged in fix/headers-for-errors (pull request #466)
fix: send headers to error rewrites Approved-by: Arvid Norlin
This commit is contained in:
@@ -1,11 +1,5 @@
|
||||
import { getIntl } from "@/i18n"
|
||||
import NotFound from "@/components/Current/NotFound"
|
||||
|
||||
export default async function NotFound() {
|
||||
const { formatMessage } = await getIntl()
|
||||
return (
|
||||
<main>
|
||||
<h1>{formatMessage({ id: "Not found" })}</h1>
|
||||
<p>{formatMessage({ id: "Could not find requested resource" })}</p>
|
||||
</main>
|
||||
)
|
||||
export default function NotFoundPage() {
|
||||
return <NotFound />
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user