Unverified Commit cf73ab10 authored by Lee Robinson's avatar Lee Robinson Committed by GitHub

examples: fix search usage (#75972)

parent a90f0c91
...@@ -2,6 +2,5 @@ ...@@ -2,6 +2,5 @@
module.exports = { module.exports = {
images: { images: {
loader: "custom", loader: "custom",
search: "",
}, },
}; };
/** @type {import('next').NextConfig} */ /** @type {import('next').NextConfig} */
module.exports = { module.exports = {
images: { images: {
search: "",
remotePatterns: [ remotePatterns: [
{ {
protocol: "https", protocol: "https",
hostname: "assets.vercel.com", hostname: "assets.vercel.com",
port: "", port: "",
pathname: "/image/upload/**", pathname: "/image/upload/**",
search: "",
}, },
], ],
}, },
......
...@@ -2,13 +2,13 @@ import type { NextConfig } from "next"; ...@@ -2,13 +2,13 @@ import type { NextConfig } from "next";
const nextConfig: NextConfig = { const nextConfig: NextConfig = {
images: { images: {
search: "",
remotePatterns: [ remotePatterns: [
{ {
protocol: "https", protocol: "https",
hostname: "assets.vercel.com", hostname: "assets.vercel.com",
port: "", port: "",
pathname: "/image/upload/**", pathname: "/image/upload/**",
search: "",
}, },
], ],
}, },
......
...@@ -2,7 +2,6 @@ import type { NextConfig } from "next"; ...@@ -2,7 +2,6 @@ import type { NextConfig } from "next";
const nextConfig: NextConfig = { const nextConfig: NextConfig = {
images: { images: {
search: "",
localPatterns: [ localPatterns: [
{ {
pathname: "/image-api/**", pathname: "/image-api/**",
......
module.exports = { module.exports = {
images: { images: {
search: "",
remotePatterns: [ remotePatterns: [
{ {
protocol: "https", protocol: "https",
hostname: "res.cloudinary.com", hostname: "res.cloudinary.com",
port: "", port: "",
pathname: "/my-account/**", pathname: "/my-account/**",
search: "",
}, },
], ],
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment