mirror of
https://github.com/KuekHaoYang/KVideo.git
synced 2026-08-15 00:33:44 +08:00
45 lines
857 B
TypeScript
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;
|