Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/andresdotsh/csrf-next-issue
Code example for an issue with nextjs
https://github.com/andresdotsh/csrf-next-issue
Last synced: 8 days ago
JSON representation
Code example for an issue with nextjs
- Host: GitHub
- URL: https://github.com/andresdotsh/csrf-next-issue
- Owner: andresdotsh
- Created: 2024-07-25T17:21:50.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-07-25T17:27:58.000Z (6 months ago)
- Last Synced: 2024-11-09T04:37:29.115Z (2 months ago)
- Language: JavaScript
- Size: 63.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Error example
Code example for an issue with `nextjs`, when `import csrf` in `middleware.js` file.
## Getting Started
This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app).
First, run the development server:
```bash
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
```Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.