11 lines
205 B
JavaScript
11 lines
205 B
JavaScript
import appConfig from './app.js';
|
|
|
|
const corsOptions = {
|
|
origin: appConfig.webAppUrl,
|
|
methods: 'GET,HEAD,POST,DELETE',
|
|
credentials: true,
|
|
optionsSuccessStatus: 200,
|
|
};
|
|
|
|
export default corsOptions;
|