fix(og-image): resolve 404s, migrate middleware to proxy.ts, and fix local port conflict
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user