26 lines
570 B
TypeScript
26 lines
570 B
TypeScript
import type { NextConfig } from "next";
|
|
import createNextIntlPlugin from "next-intl/plugin";
|
|
|
|
const withNextIntl = createNextIntlPlugin("./i18n/request.ts");
|
|
|
|
const nextConfig: NextConfig = {
|
|
images: {
|
|
remotePatterns: [
|
|
{
|
|
protocol: "http",
|
|
hostname: "api.spes-texnika.uz",
|
|
port: "",
|
|
pathname: "/resources/media/**",
|
|
},
|
|
{
|
|
protocol: "https",
|
|
hostname: "api.spes-texnika.uz",
|
|
port: "",
|
|
pathname: "/resources/media/**",
|
|
},
|
|
],
|
|
},
|
|
};
|
|
|
|
export default withNextIntl(nextConfig);
|