Currently, the solution is to utilize a reverse proxy service, like express or nginx that actually executes the queries to a node. In the JS SDK for example, you can declare an express proxy in your index.js
like so:
const express = require("express");
const cors = require("cors");
const app = express();
const bodyParser = require("body-parser");
app.use(cors());
After version 1.5.0 releases, this will no longer be a requirement by the node software.
If you have any concerns, questions, or issues, please submit a request to our support team here:
https://support.casperlabs.io/hc/en-gb/requests/new
Comments
0 comments
Please sign in to leave a comment.