Skip to content

Commit

Permalink
Examples: Fixed the example path to correct value (vercel#26255)
Browse files Browse the repository at this point in the history
## Documentation / Examples

- [x] Make sure the linting passes

Changes in readme.md:

The path to the example in ```create-next-app``` command was incorrectly specified as ```api-routes``` by the example author. 
Fixed this value to ```api-routes-rate-limit``` as well as app name to ```api-routes-rate-limit-app``` make this consistent with other examples.

No other changes made to example.
  • Loading branch information
schemburkar authored Jun 17, 2021
1 parent 9785ba8 commit 6fd207f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/api-routes-rate-limit/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ Deploy the example using [Vercel](https://vercel.com?utm_source=github&utm_mediu
Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example:

```bash
npx create-next-app --example api-routes api-routes-rate-limit
npx create-next-app --example api-routes-rate-limit api-routes-rate-limit-app
# or
yarn create next-app --example api-routes api-routes-rate-limit
yarn create next-app --example api-routes-rate-limit api-routes-rate-limit-app
```

Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)).

0 comments on commit 6fd207f

Please sign in to comment.