Zezwalaj tylko na żądania z Domain Express
const cors = require('cors');
app.use(cors({
origin: 'https://www.exemple.com'
}));
Wajih TLILI
const cors = require('cors');
app.use(cors({
origin: 'https://www.exemple.com'
}));