You should do this instead:
res.render("list", { dayWeek: day, newListItem: items });
CodePudding user response:
Is it a CORS problem?
On your express server add const cors = require('cors'); app.use(cors({ origin: 'your_client_url:your_client_port' }));