mirror of
https://github.com/DeveloLongScript/MHSF.git
synced 2026-05-07 23:45:02 -05:00
fix(www): 404 null error #2
This commit is contained in:
parent
2c292228ce
commit
4bc9b6ebcc
@ -53,6 +53,12 @@ const nextConfig = {
|
|||||||
typescript: {
|
typescript: {
|
||||||
ignoreBuildErrors: true,
|
ignoreBuildErrors: true,
|
||||||
},
|
},
|
||||||
|
output: "standalone",
|
||||||
|
experimental: {
|
||||||
|
serverActions: {
|
||||||
|
allowedOrigins: ["localhost:3000", "mhsf.app"],
|
||||||
|
},
|
||||||
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
export default nextConfig;
|
export default nextConfig;
|
||||||
|
|||||||
@ -28,19 +28,18 @@
|
|||||||
* OTHER DEALINGS IN THE SOFTWARE.
|
* OTHER DEALINGS IN THE SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import Link from "next/link";
|
"use client";
|
||||||
|
|
||||||
export default function NotFound() {
|
export default function NotFound() {
|
||||||
return (
|
return (
|
||||||
<main>
|
<div className="min-h-screen flex items-center justify-center flex-col">
|
||||||
<div className="pt-[60px] p-4">
|
<div className="text-center">
|
||||||
<strong>404 - Page not found</strong>
|
<h1 className="text-4xl font-bold mb-4">404 - Page not found</h1>
|
||||||
<br />
|
<p className="mb-4">We couldn't find the page you were looking for.</p>
|
||||||
<p>
|
<a href="/" className="text-blue-500 hover:underline">
|
||||||
We couldn't find the page you were looking for.{" "}
|
Return home
|
||||||
<Link href="/public">Go home</Link>
|
</a>
|
||||||
</p>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</main>
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user