JUNOHUB-test/next.config.ts
root 284fb12576 Set up JUNOHUB app and EC2 deployment
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-09 20:12:52 +05:00

31 lines
660 B
TypeScript

import type { NextConfig } from "next";
const nextConfig: NextConfig = {
/* config options here */
images: {
remotePatterns: [
{
protocol: "https",
hostname: "*.shopify.com",
},
{
protocol: "https",
hostname: "cdn.shopify.com",
},
{
protocol: "https",
hostname: "*.myshopify.com",
},
],
},
// Allow ngrok origin for development (fixes cross-origin warnings)
allowedDevOrigins: [
"https://precontributive-tribally-dione.ngrok-free.dev",
"https://*.ngrok-free.dev",
"https://*.ngrok.io",
],
reactCompiler: true,
};
export default nextConfig;