Skip to content

Commit 0cc2344

Browse files
committed
cors
1 parent 072060a commit 0cc2344

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/server.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,7 @@ const {CLIENT_ORIGIN} = require('./config');
1111
const PORT = process.env.PORT || 8000;
1212

1313
app.use(
14-
cors({
15-
origin: CLIENT_ORIGIN
16-
})
14+
cors()
1715
);
1816

1917

0 commit comments

Comments
 (0)