chore: Update next.config.js and features.tsx
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
|
||||
const createNextIntlPlugin = require('next-intl/plugin');
|
||||
const { PHASE_DEVELOPMENT_SERVER } = require('next/constants')
|
||||
const {setupDevPlatform} = require('@cloudflare/next-on-pages/next-dev')
|
||||
|
||||
const withNextIntl = createNextIntlPlugin();
|
||||
|
||||
@@ -17,9 +16,12 @@ const nextConfig = (phase, { defaultConfig }) => {
|
||||
{
|
||||
protocol: "https",
|
||||
hostname: "cdn.jsdelivr.net",
|
||||
port: '',
|
||||
pathname: '/gh/zen-browser/**',
|
||||
}
|
||||
],
|
||||
domains: ['cdn.jsdelivr.net', "raw.githubusercontent.com"], // Allow images from jsDelivr
|
||||
formats: ["image/png", "image/jpeg", "image/svg+xml", "image/webp"],
|
||||
domains: ['localhost', 'cdn.jsdelivr.net', "raw.githubusercontent.com"], // Allow images from jsDelivr
|
||||
},
|
||||
experimental: {
|
||||
serverActions: {
|
||||
|
||||
Reference in New Issue
Block a user