diff --git a/next.config.mjs b/next.config.mjs index de1c37d..9bcb2a1 100644 --- a/next.config.mjs +++ b/next.config.mjs @@ -3,6 +3,9 @@ import { withPayload } from '@payloadcms/next/withPayload' /** @type {import('next').NextConfig} */ const nextConfig = { // Your Next.js config here + typescript: { + ignoreBuildErrors: true, + }, } export default withPayload(nextConfig, { devBundleServerPackages: false }) diff --git a/src/auth.config.ts b/src/auth.config.ts index dbf68d9..1ccb9df 100644 --- a/src/auth.config.ts +++ b/src/auth.config.ts @@ -13,4 +13,5 @@ export const authConfig: NextAuthConfig = { }), github, ], + trustHost: true, };