OwlCyberSecurity - MANAGER
Edit File: next.config.js
/** @type {import('next').NextConfig} */ const nextConfig = { redirects: async () => [ { source: "/:path*", has: [{ type: "host", value: "www.charsooq.com" }], destination: "https://charsooq.com/:path*", permanent: true, }, { source: "/register", destination: "/login", permanent: true, statusCode: 301, }, { source: "/2", destination: "/help", permanent: true, statusCode: 301, }, { source: "/-2", destination: "/help", permanent: true, statusCode: 301, }, { source: "/%D8%AE%D8%B1%DB%8C%D8%AF-%D8%A7%D8%B2-%D8%B3%D8%A7%DB%8C%D8%AA-%D8%A2%D9%85%D8%A7%D8%B2%D9%88%D9%86", destination: "/amazon", permanent: true, statusCode: 301, }, { source: "/articles/Black-Friday-2022", destination: "/articles/Black-Friday", permanent: true, statusCode: 301, }, { source: "/%D8%B1%D8%A7%D9%87%D9%86%D9%85%D8%A7%DB%8C-%D8%AE%D8%B1%DB%8C%D8%AF", destination: "/help?tab=amazon", permanent: true, statusCode: 301, }, { source: "/%D8%AE%D8%B1%DB%8C%D8%AF-%D8%A7%D8%B2-ebay", destination: "/help?tab=ebay-turkey-emirates-china", permanent: true, statusCode: 301, }, { source: "/%D8%AE%D8%B1%DB%8C%D8%AF-%D8%B3%D8%A7%DB%8C%D8%AA-%D9%87%D8%A7%DB%8C-%D8%A7%D9%85%D8%A7%D8%B1%D8%A7%D8%AA", destination: "/emirates", permanent: true, statusCode: 301, }, { source: "/%D8%AE%D8%B1%DB%8C%D8%AF-%D8%A7%DB%8C%D9%86%D8%AA%D8%B1%D9%86%D8%AA%DB%8C-%D8%A7%D8%B2-%D8%AA%D8%B1%DA%A9%DB%8C%D9%87", destination: "/turkey", permanent: true, statusCode: 301, }, { source: "/articles/%D8%AE%D8%B1%DB%8C%D8%AF-%D8%A7%D8%B2-%D8%AE%D8%A7%D8%B1%D8%AC-%D8%A8%D8%A7-%DA%86%D8%A7%D8%B1%D8%B3%D9%88%D9%82", destination: "/articles/How-buy-amazon-ebay-sites", permanent: true, statusCode: 301, }, { source: "/articles/%D8%B1%D9%88%D8%B2%D9%87%D8%A7%DB%8C-%D8%AD%D8%B1%D8%A7%D8%AC-%D8%AE%D8%B1%DB%8C%D8%AF-%D8%B3%D8%A7%DB%8C%D8%AA-%D9%87%D8%A7%DB%8C-%D8%AE%D8%A7%D8%B1%D8%AC%DB%8C-%D8%B3%D8%A7%D9%84-2017", destination: "/articles/Black-Friday", permanent: true, statusCode: 301, }, { source: "/category/articles/%D8%AE%D8%B1%DB%8C%D8%AF%20%D8%A7%D8%B2%20%D8%A2%D9%85%D8%A7%D8%B2%D9%88%D9%86%D8%8C%20%D8%A7%D8%B1%D8%B2%D8%A7%D9%86%20%D9%88%20%D8%A8%D8%A7%D8%B5%D8%B1%D9%81%D9%87", destination: "/", permanent: true, statusCode: 301, }, { source: "/category/news/-1", destination: "/", permanent: true, statusCode: 301, }, { source: "/category/news/Five-Expensive-World-Foods", destination: "/", permanent: true, statusCode: 301, }, { source: "/category/news/Date-Opening-schools-in-other-Country", destination: "/", permanent: true, statusCode: 301, }, { source: "/category/news/articles/the-best-online-shopping-with-mihanmarket", destination: "/", permanent: true, statusCode: 301, }, { source: "/category/news/The-latest-Apple-Watch-features-that-way", destination: "/", permanent: true, statusCode: 301, }, { source: "/category/news/elecomp-2019", destination: "/", permanent: true, statusCode: 301, }, { source: "/category/news/New-Lenovo-Tablets", destination: "/", permanent: true, statusCode: 301, }, { source: "/category/news/%D8%A2%D9%85%D8%A7%D8%B2%D9%88%D9%86%20%D8%AA%D8%B1%DA%A9%DB%8C%D9%87", destination: "/", permanent: true, statusCode: 301, }, { source: "/category/articles/%D8%A2%D9%85%D8%A7%D8%B2%D9%88%D9%86%20%D9%BE%D8%B1%D8%A7%DB%8C%D9%85%20%DA%86%DB%8C%D8%B3%D8%AA%D8%9F", destination: "/", permanent: true, statusCode: 301, }, { source: "/category/articles/%D8%AE%D8%B1%DB%8C%D8%AF_%D8%AF%D8%B1_%D8%AD%D8%B1%D8%A7%D8%AC", destination: "/", permanent: true, statusCode: 301, }, { source: "/category/articles/%D8%AF%D9%86%DB%8C%D8%A7%DB%8C-%DA%86%D9%BE-%D8%AF%D8%B3%D8%AA%D8%A7%D9%86", destination: "/", permanent: true, statusCode: 301, }, { source: "/category/news/lg-new-airbuds", destination: "/", permanent: true, statusCode: 301, }, { source: "/category/news/Buy-Xbox-X-Series-from-Amazon", destination: "/", permanent: true, statusCode: 301, }, { source: "/category/news/Intel-is-offering-a-quad-core-processor", destination: "/", permanent: true, statusCode: 301, }, { source: "/category/news/new-games-at-last-2019", destination: "/", permanent: true, statusCode: 301, }, { source: "/category/news/Amazon-revenue-of-$-63.4-billion", destination: "/", permanent: true, statusCode: 301, }, { source: "/category/articles/newegg", destination: "/", permanent: true, statusCode: 301, }, { source: "/category/news/search-in-google-with-screenshot", destination: "/", permanent: true, statusCode: 301, }, { source: "/dp/B0BK56XWV8/ref=twister_B095J3HLGN", destination: "/", permanent: true, statusCode: 301, }, { source: "/category/news/Introduction-xiaomi-mi-10-ultra", destination: "/", permanent: true, statusCode: 301, }, { source: "/dp/B0BK54KJ3V/ref=twister_B095J3HLGN", destination: "/", permanent: true, statusCode: 301, }, { source: "/dp/B0CRR2NJZX/ref=twister_B095J3HLGN", destination: "/", permanent: true, statusCode: 301, }, { source: "/dp/B0BS2PSC4J/ref=twister_B095J3HLGN", destination: "/", permanent: true, statusCode: 301, }, { source: "/%D9%85%D8%B9%D8%B1%D9%81%DB%8C-%D8%B3%D8%A7%DB%8C%D8%AA-%D8%AA%D8%B1%DA%A9%DB%8C%D9%87-%D8%A7%DB%8C%DB%8C-%D8%AA%D8%B1%D9%86%D8%AF%DB%8C%D9%88%D9%84", destination: "/articles/Buy-From-Trendyol", permanent: true, statusCode: 301, }, { source: "/articles/%D8%AE%D8%B1%DB%8C%D8%AF-%D8%A7%D8%B2-%D8%AA%D8%B1%DA%A9%DB%8C%D9%87", destination: "/turkey", permanent: true, statusCode: 301, }, { source: "/%D8%AE%D8%B1%DB%8C%D8%AF-%D8%A7%D8%B2-%D8%AE%D8%A7%D8%B1%D8%AC-%D8%A8%D8%A7-%DA%86%D8%A7%D8%B1%D8%B3%D9%88%D9%82", destination: "/foreign-shopping", permanent: true, statusCode: 301, }, { source: "/%D8%AE%D8%B1%DB%8C%D8%AF-%D8%B3%D8%A7%DB%8C%D8%AA-%D8%A7%DB%8C%DA%A9%DB%8C%D8%A7", destination: "/articles/buy-from-ikea-site", permanent: true, statusCode: 301, }, { source: "/%D8%AE%D8%B1%DB%8C%D8%AF-%D8%B3%D8%A7%DB%8C%D8%AA-%D8%B3%D9%81%D9%88%D8%B1%D8%A7", destination: "/articles/sephora", permanent: true, statusCode: 301, }, { source: "/articles/brands-for-less", destination: "/articles/brandsforless", permanent: true, statusCode: 301, }, { source: "/articles/Shopping-on-Black-Friday", destination: "/articles/Black-Friday", permanent: true, statusCode: 301, }, { source: "/articles/What-to-buy-on-Black-Friday", destination: "/articles/Black-Friday", permanent: true, statusCode: 301, }, ], async rewrites() { return [ { source: "/Calculator", destination: "/calculator", }, ]; }, env: { price: "تومان", // NEXT_PUBLIC_API_ADDRESS: "https://app.charsooq.com/api/v1/", // NEXT_PUBLIC_API_ADDRESS_V2: "https://app.charsooq.com/api/v2/", // SERVER_ADDRESS: "http://app.charsooq.com/api/v1/", // SERVER_ADDRESS_V2: "http://app.charsooq.com/api/v2/", // SITE_ADDRESS: "https://www.charsooq.com", // // process.env.NODE_ENV === "production" // // ? "https://app.charsooq.com/api/v1/" // // : "http://192.168.63.44:88/api/v1/", }, images: { remotePatterns: [ { hostname: "panel.charsooq.com", }, { hostname: "app.charsooq.com", }, { hostname: "m.media-amazon.com", }, { hostname: "panel-t.charsooq.com", }, { hostname: "app-t.charsooq.com", }, ], }, }; module.exports = nextConfig;