fix(ci): fix build-time nodemailer connection error and next.config warning
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 7s
Build & Deploy / 🏗️ Build (push) Successful in 9m9s
Build & Deploy / 🚀 Deploy (push) Successful in 22s
Build & Deploy / 🩺 Smoke Test (push) Failing after 3s
Build & Deploy / 🔔 Notify (push) Successful in 2s

This commit is contained in:
2026-04-13 12:29:52 +02:00
parent f3cbdd8076
commit 9013d38e31
2 changed files with 25 additions and 15 deletions

View File

@@ -54,4 +54,11 @@ const withMDX = createMDX({});
// Clean, standard wrapper application
// Rewrites are now handled by src/middleware.ts for maximum robustness
export default withPayload(withMintelConfig(withMDX(nextConfig)));
const config = withMintelConfig(withMDX(nextConfig));
// Cleanup config to prevent Next.js 16 warnings about deprecated keys
if (config.serverActions) {
delete config.serverActions;
}
export default withPayload(config);