Handling CORS Errors
Solutions
const express = require('express'); const { createProxyMiddleware } = require('http-proxy-middleware'); const app = express(); app.use( '/api', createProxyMiddleware({ target: '<https://www.0xqube.xyz>', changeOrigin: true, }) ); app.listen(3000);
Last updated