We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9d7b539 commit fb9a8bcCopy full SHA for fb9a8bc
1 file changed
https/back/app.js
@@ -31,7 +31,7 @@ if (process.env.NODE_ENV === 'production') {
31
app.use(hpp());
32
app.use(helmet({ contentSecurityPolicy: false }));
33
app.use(cors({
34
- origin: 'https://nodebird.com',
+ origin: ['https://nodebird.com', 'https://react.nodebird.com'],
35
credentials: true,
36
}));
37
} else {
0 commit comments