Fredkiss3 / gh-next

A minimal Github clone built on nextjs app router.
https://gh.fredkiss.dev/
MIT License
450 stars 21 forks source link

[🐛 bug] CSRF issue with server actions on production #95

Closed Fredkiss3 closed 12 months ago

Fredkiss3 commented 1 year ago

Describe the bug

I get this issue in production

image

Additional context

See how to configure the CSRF options with next.

See this :

Check how to install nginx for local testing : https://adamtheautomator.com/nginx-on-mac/ , https://chat.openai.com/c/72a41af9-6a97-46aa-ab0c-cddecf329af8