Skip to content

Commit e100c75

Browse files
authored
[cloudflare]: rename wrangler.json to wrangler.jsonc (#90)
1 parent b348d10 commit e100c75

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pages/cloudflare/caching.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ npx wrangler@latest kv namespace create <YOUR_NAMESPACE_NAME>
3535
The binding name used in your app's worker is `NEXT_CACHE_WORKERS_KV`.
3636

3737
```jsonc
38-
// wrangler.json
38+
// wrangler.jsonc
3939
{
4040
// ...
4141
"kv_namespaces": [
@@ -96,7 +96,7 @@ To use on-demand revalidation, you should also follow the [ISR setup steps](#inc
9696
The binding name used in your app's worker is `NEXT_CACHE_D1`.
9797

9898
```jsonc
99-
// wrangler.json
99+
// wrangler.jsonc
100100
{
101101
// ...
102102
"d1_databases": [

pages/cloudflare/get-started.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ npm install --save-dev wrangler@latest
4343
A [wrangler configuration file](https://developers.cloudflare.com/workers/wrangler/configuration/) is needed for your
4444
application to be previewed and deployed, it is also where you configure your Worker and define what resources it can access via [bindings](https://developers.cloudflare.com/workers/runtime-apis/bindings/service-bindings).
4545

46-
You can create one yourself in the root directory of your Next.js app with the name `wrangler.json` and the following content:
46+
You can create one yourself in the root directory of your Next.js app with the name `wrangler.jsonc` and the following content:
4747

4848
```jsonc
4949
{

0 commit comments

Comments
 (0)