79403951

Date: 2025-01-31 20:39:07
Score: 0.5
Natty:
Report link

You need to add enableCors as others have suggested. However, you can fine tune it to your needs to make it more secure:

app.enableCors({
  credentials: true,
  methods: ["post"],
  origin: process.env.YOUR_CLIENT_URL,
})
    ```
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Jorge Ramirez Zamora