diff --git a/next.config.mjs b/next.config.mjs index 6579620b..755a3617 100644 --- a/next.config.mjs +++ b/next.config.mjs @@ -11,7 +11,7 @@ const remotePatterns = [] // S3 Storage if (process.env.S3_UPLOAD_ENDPOINT) { // custom endpoint for providers other than AWS - const url = new URL(process.env.S3_UPLOAD_ENDPOINT); + const url = new URL(process.env.S3_UPLOAD_ENDPOINT) remotePatterns.push({ hostname: url.hostname, }) @@ -25,14 +25,17 @@ if (process.env.S3_UPLOAD_ENDPOINT) { /** @type {import('next').NextConfig} */ const nextConfig = { images: { - remotePatterns + remotePatterns, }, // Required to run in a codespace (see https://github.com/vercel/next.js/issues/58019) experimental: { serverActions: { - allowedOrigins: ['localhost:3000'], + allowedOrigins: ['localhost:3000'], }, -}, + }, + typescript: { + ignoreBuildErrors: true, + }, } export default withNextIntl(nextConfig)