We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b585983 commit a4aa53dCopy full SHA for a4aa53d
http-backend/src/index.ts
@@ -5,7 +5,9 @@ import { prismaClient } from './db';
5
6
const app = express();
7
app.use(express.json())
8
-app.use(cors());
+app.use(cors({
9
+ origin: '*'
10
+}));
11
12
app.get('/', (req, res) => {
13
res.send('Hello from express');
0 commit comments