fix: build errors
This commit is contained in:
+1
-1
@@ -6,7 +6,7 @@ import "./src/env.js";
|
|||||||
|
|
||||||
/** @type {import("next").NextConfig} */
|
/** @type {import("next").NextConfig} */
|
||||||
const config = {
|
const config = {
|
||||||
reactCompiler: false,
|
reactCompiler: true,
|
||||||
serverExternalPackages: ["pg", "better-auth"],
|
serverExternalPackages: ["pg", "better-auth"],
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -6,6 +6,8 @@ import { Button } from "~/components/ui/button";
|
|||||||
import { env } from "~/env";
|
import { env } from "~/env";
|
||||||
import { brand } from "~/lib/branding";
|
import { brand } from "~/lib/branding";
|
||||||
|
|
||||||
|
export const dynamic = "force-dynamic";
|
||||||
|
|
||||||
export default function HomePage() {
|
export default function HomePage() {
|
||||||
const allowRegistration = env.DISABLE_SIGNUPS !== true;
|
const allowRegistration = env.DISABLE_SIGNUPS !== true;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user