cors debug
This commit is contained in:
parent
ada2c3d706
commit
4c6959601c
|
@ -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 🔧 //
|
||||||
|
|
Loading…
Reference in New Issue