• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Recent content by levni00

  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