Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
276 B
3
Indexable
Never
const express = require('express');
const cors = require('cors');

const app = express();

// Enable CORS for all routes
app.use(cors());

// ... Define your routes and server setup ...

app.listen(3000, () => {
  console.log('Server is running on port 3000');
});