Files
tm_panel/next.config.mjs
T
AmirReza Jamali eb41f9b7b2 feat(docs): migrate and reorganize frontend guides for BP panel and file uploads
- Deleted outdated documentation files for BP panel list sorting and Filestore frontend guide.
- Created new documentation files for BP panel list sorting and Filestore frontend guide in the client directory.
- Updated the structure and content to enhance clarity and accessibility for frontend integration with file upload and profile image APIs.
- Ensured consistency in documentation style and improved examples for better developer experience.
2026-05-31 15:18:37 +03:30

46 lines
963 B
JavaScript

/** @type {import("next").NextConfig} */
const nextConfig = {
output: "standalone",
outputFileTracingIncludes: {
"/*": ["./.next/static/**/*", "./public/**/*"],
},
images: {
remotePatterns: [
{
protocol: "https",
hostname: "cdn.sanity.io",
port: "",
},
{
protocol: "https",
hostname: "lh3.googleusercontent.com",
port: "",
},
{
protocol: "https",
hostname: "avatars.githubusercontent.com",
port: "",
},
{
protocol: "https",
hostname: "pub-b7fd9c30cdbf439183b75041f5f71b92.r2.dev",
port: "",
},
{
protocol: "https",
hostname: "admin.opplenz.com",
port: "",
},
],
},
async rewrites() {
return [
{
source: "/api/proxy/:path*",
destination: `https://admin.opplenz.com/admin/v1/:path*`,
},
];
},
};
export default nextConfig;