Files
KVideo/next.config.ts
T

45 lines
857 B
TypeScript

import type { NextConfig } from "next";
const nextConfig: NextConfig = {
images: {
remotePatterns: [
// Douban images
{
protocol: 'https',
hostname: 'img3.doubanio.com',
},
{
protocol: 'https',
hostname: 'img1.doubanio.com',
},
{
protocol: 'https',
hostname: 'img2.doubanio.com',
},
{
protocol: 'https',
hostname: 'img9.doubanio.com',
},
// Video source images - allow all subdomains with wildcards
{
protocol: 'http',
hostname: '**.com',
},
{
protocol: 'https',
hostname: '**.com',
},
{
protocol: 'http',
hostname: '**.cn',
},
{
protocol: 'https',
hostname: '**.cn',
},
],
},
};
export default nextConfig;