Next.js Discord

Discord Forum

How can I add security measures to api routes ?

Unanswered
Gordiac posted this in #help-forum
Open in Discord
How can I integrate the functions created for security measures such as Helmet, Cors and CSRF packages into the route files in the api directory?
( I looked at many sources but I didn't see anyone explaining integrations such as helmet and csrf, in addition, I am new to next js, so if these problems are blocked by default, it may seem like a silly question to you 🙂 )

0 Replies