inital commit

This commit is contained in:
2026-01-01 15:25:19 +05:30
commit f0ae49465a
36361 changed files with 4894111 additions and 0 deletions

49
next.config.js Normal file
View File

@@ -0,0 +1,49 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: false,
env: {
// For Local Server
API_PROD_URL: "https://fastkart-admin-json.vercel.app/api/",
// API_PROD_URL: "http://localhost:3000/api/",
// API_PROD_URL: "https://laravel.pixelstrap.net/fastkart/api",
},
redirects: async () => {
return [
{
source: "/",
destination: "/en/dashboard",
permanent: true,
},
{
source: "/en",
destination: "/en/dashboard",
permanent: true,
},
];
},
images: {
remotePatterns: [
{
protocol: "http",
hostname: "localhost",
},
{
protocol: "http",
hostname: "127.0.0.1:8000",
},
{
protocol: "https",
hostname: "fastkart-admin-json.vercel.app",
},
{
protocol: "https",
hostname: "laravel.pixelstrap.net",
},
],
}
};
module.exports = nextConfig;