Skip to content

Commit 0351591

Browse files
committed
Removes unneeded localhost flag
1 parent 9b4a29b commit 0351591

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/content/docs/developer-spotlight/tutorials/fullstack-authentication-with-next-js-and-cloudflare-d1.mdx

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -61,12 +61,6 @@ From within the repository or directory where you want to create your project ru
6161

6262
This will create a new Next.js project using [OpenNext](https://opennext.js.org/cloudflare) that will run in a Worker using [Workers Assets](/workers/frameworks/framework-guides/nextjs/).
6363

64-
Now, modify the newly created `package.json` slightly, adding `--ip localhost` to the preview command within the scripts like so:
65-
66-
```json title="package.json"
67-
"preview": "cloudflare && wrangler dev --ip localhost",
68-
```
69-
7064
Throughout this tutorial, we'll add several values to Cloudflare Secrets. For [local development](/workers/configuration/secrets/#local-development-with-secrets), add those same values to a file in the top level of your project called `.dev.vars` and make sure it is not committed into version control. This will let you work with Secret values locally. Go ahead and copy and paste the following into `.dev.vars` for now and replace the values as we go.
7165

7266
```sh title=".dev.vars"

0 commit comments

Comments
 (0)