chore(dependencies): Add and update CORS config
This commit is contained in:
@@ -21,9 +21,6 @@
|
||||
"extended": true,
|
||||
"limit": "100kb"
|
||||
},
|
||||
"cors": {
|
||||
"origin": true,
|
||||
"credentials": true
|
||||
}
|
||||
"cors": false
|
||||
}
|
||||
}
|
||||
|
@@ -16,6 +16,13 @@
|
||||
"compression": {},
|
||||
"morgan": {
|
||||
"params": ":status :method :response-time ms - :url"
|
||||
},
|
||||
"cors": {
|
||||
"params": {
|
||||
"origin": true,
|
||||
"credentials": true,
|
||||
"maxAge": 86400
|
||||
}
|
||||
}
|
||||
},
|
||||
"session": {
|
||||
|
Reference in New Issue
Block a user