Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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.