12345678910111213141516171819202122232425262728293031323334353637383940 |
- 'use strict';
- module.exports = appInfo => {
-
- const config = exports = {};
- config.security = {
- csrf: {
- headerName: 'token',
- enable: false,
- },
- domainWhiteList: [ '*' ],
- };
-
- config.cors = {
- origin: '*',
- allowMethods: 'GET,HEAD,PUT,POST,DELETE,PATCH,OPTIONS',
- };
-
- config.keys = appInfo.name + 'Lowkey_52033';
-
- config.middleware = [];
-
- const userConfig = {
-
- };
- return {
- ...config,
- ...userConfig,
- };
- };
|