fix(www): 404 null error #2

This commit is contained in:
dvelo 2025-03-01 18:20:33 -06:00
parent 2c292228ce
commit 4bc9b6ebcc
2 changed files with 18 additions and 13 deletions

@ -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> );
);
} }