eb41f9b7b2
- 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.
46 lines
963 B
JavaScript
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;
|