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