• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

Search results

  1. L

    Issue IIS "Cors" configuration problem for Node.js backend

    I have a node.js backend, and in my server.js file I have this: const app = express(); app.use((req, res, next) => { res.setHeader("Access-Control-Allow-Origin", "*"); res.setHeader( "Access-Control-Allow-Methods", "OPTIONS, GET, POST, PUT, PATCH, DELETE" )...
  2. L

    Issue My Node.js backend returns servers' automatic HTML error page, instead of my res.json error message

    I have a REST api on the Node.js(express) server and React app for front-end. I have designed it to send JSON to front-end when faces an error, it sends it and I can use it to print errors on the client side as a modal etc. On Localhost there is no problem. But after uploading to the server...
Back
Top