cors debug

This commit is contained in:
adueck 2023-07-26 23:59:00 +04:00
parent ada2c3d706
commit 4c6959601c
1 changed files with 1 additions and 0 deletions

View File

@ -15,6 +15,7 @@ const sameOriginCorsOpts = {
methods: "GET,HEAD,PUT,PATCH,POST,DELETE", methods: "GET,HEAD,PUT,PATCH,POST,DELETE",
credentials: true, credentials: true,
}; };
console.log({ inProd });
const app = express(); const app = express();
// MIDDLEWARE AND SETUP 🔧 // // MIDDLEWARE AND SETUP 🔧 //