diff --git a/apps/www/next.config.mjs b/apps/www/next.config.mjs index b177fea..26b00eb 100644 --- a/apps/www/next.config.mjs +++ b/apps/www/next.config.mjs @@ -53,6 +53,12 @@ const nextConfig = { typescript: { ignoreBuildErrors: true, }, + output: "standalone", + experimental: { + serverActions: { + allowedOrigins: ["localhost:3000", "mhsf.app"], + }, + }, }; export default nextConfig; diff --git a/apps/www/src/app/(main)/not-found.tsx b/apps/www/src/app/(main)/not-found.tsx index 400fbc6..54f9cd5 100644 --- a/apps/www/src/app/(main)/not-found.tsx +++ b/apps/www/src/app/(main)/not-found.tsx @@ -28,19 +28,18 @@ * OTHER DEALINGS IN THE SOFTWARE. */ -import Link from "next/link"; +"use client"; export default function NotFound() { - return ( -
-
- 404 - Page not found -
-

- We couldn't find the page you were looking for.{" "} - Go home -

-
-
- ); + return ( +
+
+

404 - Page not found

+

We couldn't find the page you were looking for.

+ + Return home + +
+
+ ); }