3arcus
Explore posts from serversCant load my metadata from xpress server due to cors policy
can't in this case, I found this solution, enable cors,
does this pose a security risk and will it work?
my server on railway:
const express = require("express");
const cors = require("cors");
const app = express();
const fs = require("fs");
const path = require("path");
app.use(cors()); // Enable CORS for all routes
12 replies