Prevent stale /auth/me from wiping a fresh session, unblock login submit, allow localhost HMR, and drop the tile "مشاهده" CTA. Co-authored-by: Cursor <cursoragent@cursor.com>
30 lines
565 B
TypeScript
30 lines
565 B
TypeScript
import type { NextConfig } from "next";
|
|
|
|
const nextConfig: NextConfig = {
|
|
allowedDevOrigins: [
|
|
"127.0.0.1",
|
|
"localhost",
|
|
"mana-collection.com",
|
|
"*.mana-collection.com",
|
|
"store.mana-collection.com",
|
|
"customer.mana-collection.com",
|
|
"admin.mana-collection.com",
|
|
"www.mana-collection.com",
|
|
],
|
|
images: {
|
|
localPatterns: [
|
|
{
|
|
pathname: "/images/**",
|
|
},
|
|
],
|
|
remotePatterns: [
|
|
{
|
|
protocol: "https",
|
|
hostname: "c804387.parspack.net",
|
|
},
|
|
],
|
|
},
|
|
};
|
|
|
|
export default nextConfig;
|