Ctrl K
ComunidadGuías…

next.config.ts

Rama main · réplica de lectura del repositorio original.

Archivo original ↗Preguntar a KiBot
import type { NextConfig } from "next";

const nextConfig: NextConfig = {
  reactStrictMode: true,
  devIndicators: false,
  allowedDevOrigins: ["192.168.0.108"],
  images: {
    qualities: [60, 80, 85],
    localPatterns: [
      {
        pathname: "/api/plex/thumbnail**",
      },
      {
        pathname: "/api/jellyfin/thumbnail**",
      },
      {
        pathname: "/images/**",
      },
    ],
    remotePatterns: [
      {
        protocol: "https",
        hostname: "plex.tv",
        pathname: "/users/**",
      },
      {
        protocol: "https",
        hostname: "metadata-static.plex.tv",
        pathname: "/**",
      },
      {
        protocol: "https",
        hostname: "image.tmdb.org",
        pathname: "/**",
      },
      {
        protocol: "https",
        hostname: "imdb-api.com",
        pathname: "/**",
      },
      {
        protocol: "https",
        hostname: "m.media-amazon.com",
        pathname: "/**",
      },
      {
        protocol: "https",
        hostname: "themoviedb.org",
        pathname: "/**",
      },
      {
        protocol: "https",
        hostname: "thetvdb.com",
        pathname: "/**",
      },
      {
        protocol: "https",
        hostname: "artworks.thetvdb.com",
        pathname: "/**",
      },
      {
        protocol: "https",
        hostname: "meta.plex.com",
        pathname: "/**",
      },
      {
        protocol: "https",
        hostname: "meta.plex.tv",
        pathname: "/**",
      },
    ],
  },
};

export default nextConfig;