fix(og-image): resolve 404s, migrate middleware to proxy.ts, and fix local port conflict
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 14s
Build & Deploy / 🧪 QA (push) Successful in 1m40s
Build & Deploy / 🏗️ Build (push) Successful in 3m59s
Build & Deploy / 🚀 Deploy (push) Successful in 30s
Build & Deploy / 🧪 Smoke Test (push) Failing after 52s
Build & Deploy / 🔔 Notify (push) Successful in 2s

This commit is contained in:
2026-02-17 01:31:13 +01:00
parent 7e6b4a3ed7
commit 28072908f7
13 changed files with 38 additions and 21 deletions

View File

@@ -1,10 +1,18 @@
import createNextIntlPlugin from 'next-intl/plugin';
import withMintelConfig from '@mintel/next-config';
const withNextIntl = createNextIntlPlugin();
console.log('🚀 NEXT CONFIG LOADED FROM:', process.cwd());
/** @type {import('next').NextConfig} */
const nextConfig = {
onDemandEntries: {
// Make sure entries are not disposed too quickly
maxInactiveAge: 60 * 1000,
},
logging: {
fetches: {
fullUrl: true,
},
},
output: 'standalone',
async redirects() {
return [
@@ -342,6 +350,4 @@ const nextConfig = {
},
};
const nextIntlConfig = withNextIntl(nextConfig);
export default withMintelConfig(nextIntlConfig);
export default withMintelConfig(nextConfig);