From ae00d140411ab3092b9500e12d3e27a422442876 Mon Sep 17 00:00:00 2001 From: Shinya Fujino Date: Mon, 23 Dec 2024 02:06:03 +0900 Subject: [PATCH 1/2] Update README.md to correct path for Compatibility Flags in settings page --- packages/next-on-pages/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/next-on-pages/README.md b/packages/next-on-pages/README.md index 2173c96a8..e33aca1bc 100644 --- a/packages/next-on-pages/README.md +++ b/packages/next-on-pages/README.md @@ -58,7 +58,7 @@ Next, in the [Cloudflare Dashboard](https://dash.cloudflare.com/?to=/:account/pa | Build output directory | `.vercel/output/static` | - In the _Environment variables (advanced)_ section, add a new variable named `NODE_VERSION` set to `16` or greater. - Click on _Save and Deploy_ to start the deployment (this first deployment won't be fully functional as the next step is also necessary). -- Go to the Pages project settings page (_Settings_ > _Functions_ > _Compatibility Flags_), **add the `nodejs_compat` flag** for both production and preview, and make sure that the **Compatibility Date** for both production and preview is set to at least `2022-11-30`. +- Go to the Pages project settings page (_Settings_ > Runtime > _Compatibility Flags_), **add the `nodejs_compat` flag** for both production and preview, and make sure that the **Compatibility Date** for both production and preview is set to at least `2022-11-30`. > If you don't want to set up a Git repository, you can build your application (as indicated in [Local Development](#local-development)) and publish it manually via the [`wrangler pages publish` command](https://developers.cloudflare.com/workers/wrangler/commands/#publish-1) instead (you'll still need to set the **`nodejs_compat`** flag for your project in the Cloudflare dashboard). From 7c56e9700dfe520ab4f9a33eb9b92c144243a20e Mon Sep 17 00:00:00 2001 From: Shinya Fujino Date: Mon, 23 Dec 2024 02:12:25 +0900 Subject: [PATCH 2/2] Italicize Runtime --- packages/next-on-pages/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/next-on-pages/README.md b/packages/next-on-pages/README.md index e33aca1bc..2263c081c 100644 --- a/packages/next-on-pages/README.md +++ b/packages/next-on-pages/README.md @@ -58,7 +58,7 @@ Next, in the [Cloudflare Dashboard](https://dash.cloudflare.com/?to=/:account/pa | Build output directory | `.vercel/output/static` | - In the _Environment variables (advanced)_ section, add a new variable named `NODE_VERSION` set to `16` or greater. - Click on _Save and Deploy_ to start the deployment (this first deployment won't be fully functional as the next step is also necessary). -- Go to the Pages project settings page (_Settings_ > Runtime > _Compatibility Flags_), **add the `nodejs_compat` flag** for both production and preview, and make sure that the **Compatibility Date** for both production and preview is set to at least `2022-11-30`. +- Go to the Pages project settings page (_Settings_ > _Runtime_ > _Compatibility Flags_), **add the `nodejs_compat` flag** for both production and preview, and make sure that the **Compatibility Date** for both production and preview is set to at least `2022-11-30`. > If you don't want to set up a Git repository, you can build your application (as indicated in [Local Development](#local-development)) and publish it manually via the [`wrangler pages publish` command](https://developers.cloudflare.com/workers/wrangler/commands/#publish-1) instead (you'll still need to set the **`nodejs_compat`** flag for your project in the Cloudflare dashboard).