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

https://github.com/imufeng/nextjs-app-cookie


https://github.com/imufeng/nextjs-app-cookie

Last synced: 9 months ago
JSON representation

Awesome Lists containing this project

README

          

`import { cookies } from "next/headers"`

If your function for obtaining cookies is not inside the app directory, when set-cookie is used, other cookies will be discarded.

Create a new cookie named "cookie1" manually in the console with any value, and then refresh this page.