Scrapboard.org client

Update next.config.ts

authored by

Turtlepaw and committed by
GitHub
345870f5 d3444390

+5
+5
next.config.ts
··· 1 1 import type { NextConfig } from "next"; 2 + import { setupDevPlatform } from '@cloudflare/next-on-pages/next-dev'; 2 3 3 4 const nextConfig: NextConfig = { 4 5 /* config options here */ ··· 6 7 remotePatterns: [new URL("https://cdn.bsky.app/img/feed_fullsize/**")], 7 8 }, 8 9 }; 10 + 11 + if (process.env.NODE_ENV === 'development') { 12 + await setupDevPlatform(); 13 + } 9 14 10 15 export default nextConfig;