@@ -37,7 +37,7 @@ module.exports.cors = {
3737 * *
3838 ***************************************************************************/
3939
40- // allRoutes: false ,
40+ allRoutes : true ,
4141
4242 /***************************************************************************
4343 * *
@@ -47,15 +47,15 @@ module.exports.cors = {
4747 * *
4848 ***************************************************************************/
4949
50- // origin: '*',
50+ origin : '*' ,
5151
5252 /***************************************************************************
5353 * *
5454 * Allow cookies to be shared for CORS requests? *
5555 * *
5656 ***************************************************************************/
5757
58- // credentials: true,
58+ credentials : true ,
5959
6060 /***************************************************************************
6161 * *
@@ -64,7 +64,7 @@ module.exports.cors = {
6464 * *
6565 ***************************************************************************/
6666
67- // methods: 'GET, POST, PUT, DELETE, OPTIONS, HEAD',
67+ methods : 'GET, POST, PUT, DELETE, OPTIONS, HEAD' ,
6868
6969 /***************************************************************************
7070 * *
@@ -73,6 +73,6 @@ module.exports.cors = {
7373 * *
7474 ***************************************************************************/
7575
76- // headers: 'content-type'
76+ headers : 'content-type, Authorization '
7777
7878} ;
0 commit comments