Some checks failed
Deploy to Cloudflare Workers / deploy (push) Has been cancelled
25 lines
552 B
TypeScript
25 lines
552 B
TypeScript
import type { NextConfig } from "next";
|
|
|
|
const nextConfig: NextConfig = {
|
|
images: {
|
|
remotePatterns: [
|
|
{
|
|
protocol: "https",
|
|
hostname: "*.supabase.co",
|
|
},
|
|
],
|
|
},
|
|
};
|
|
|
|
export default nextConfig;
|
|
|
|
try {
|
|
// eslint-disable-next-line @typescript-eslint/no-require-imports
|
|
const { initOpenNextCloudflareForDev } = require("@opennextjs/cloudflare");
|
|
initOpenNextCloudflareForDev();
|
|
} catch {
|
|
console.warn(
|
|
"[next.config] @opennextjs/cloudflare is not installed. Run: npm install"
|
|
);
|
|
}
|