tangled
alpha
login
or
join now
bunware.org
/
pin.to.it
6
fork
atom
Scrapboard.org client
6
fork
atom
overview
issues
pulls
pipelines
Update next.config.ts
authored by
Turtlepaw
and committed by
GitHub
7 months ago
345870f5
d3444390
+5
1 changed file
expand all
collapse all
unified
split
next.config.ts
+5
next.config.ts
···
1
1
import type { NextConfig } from "next";
2
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
10
+
11
11
+
if (process.env.NODE_ENV === 'development') {
12
12
+
await setupDevPlatform();
13
13
+
}
9
14
10
15
export default nextConfig;