| 1234567891011121314151617181920212223242526 |
- import type { NextConfig } from 'next'
- import createNextIntlPlugin from 'next-intl/plugin'
- const withNextIntl = createNextIntlPlugin()
- const nextConfig: NextConfig = {
- output: 'standalone',
- images: {
- remotePatterns: [],
- },
- allowedDevOrigins: ['10.0.0.217', '192.168.30.111'],
- experimental: {
- proxyClientMaxBodySize: '2gb',
- },
- async rewrites() {
- return [
- // Old /api/files/ URLs stored in the DB before the protected/ restructure
- {
- source: '/api/files/:path*',
- destination: '/api/protected/files/:path*',
- },
- ]
- },
- }
- export default withNextIntl(nextConfig)
|