diff --git a/server/config/middleware.js b/server/config/middleware.js index f4453470..9d56baff 100644 --- a/server/config/middleware.js +++ b/server/config/middleware.js @@ -22,7 +22,7 @@ module.exports = { options: { br: false } - } + }, // logger: { // // dev + prod // level: debug + info, @@ -30,9 +30,9 @@ module.exports = { // } // dev - // cors: { - // enabled: true, - // origin: ['http://localhost:3000', 'http://localhost:1337'] - // }, + cors: { + enabled: true, + origin: ['http://www.casmm.org'] + }, }, } \ No newline at end of file