Trying to add CF Pages
This commit is contained in:
parent
adf0d2766d
commit
eb2e41be03
3 changed files with 13 additions and 1 deletions
|
@ -1,7 +1,11 @@
|
|||
import type { NextConfig } from "next";
|
||||
import { setupDevPlatform } from '@cloudflare/next-on-pages/next-dev';
|
||||
|
||||
const nextConfig: NextConfig = {
|
||||
/* config options here */
|
||||
};
|
||||
if (process.env.NODE_ENV === 'development') {
|
||||
await setupDevPlatform();
|
||||
}
|
||||
|
||||
export default nextConfig;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue