Skip to content

Commit fb9a8bc

Browse files
authored
Update app.js
1 parent 9d7b539 commit fb9a8bc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

https/back/app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ if (process.env.NODE_ENV === 'production') {
3131
app.use(hpp());
3232
app.use(helmet({ contentSecurityPolicy: false }));
3333
app.use(cors({
34-
origin: 'https://nodebird.com',
34+
origin: ['https://nodebird.com', 'https://react.nodebird.com'],
3535
credentials: true,
3636
}));
3737
} else {

0 commit comments

Comments
 (0)