remove unnecessary console.log
This commit is contained in:
parent
98711f361d
commit
2f28d606e0
1 changed files with 0 additions and 1 deletions
1
index.js
1
index.js
|
@ -19,7 +19,6 @@ app.use(express.json());
|
||||||
app.use(cookieParser());
|
app.use(cookieParser());
|
||||||
app.use(cors({
|
app.use(cors({
|
||||||
origin: function (origin, callback) {
|
origin: function (origin, callback) {
|
||||||
console.log(origin);
|
|
||||||
if (config.corsAllowList.indexOf(origin) !== -1) {
|
if (config.corsAllowList.indexOf(origin) !== -1) {
|
||||||
callback(null, true);
|
callback(null, true);
|
||||||
} else {
|
} else {
|
||||||
|
|
Reference in a new issue