@azteam/express 1.2.248 → 1.2.249

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/Server.js +1 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@azteam/express",
3
- "version": "1.2.248",
3
+ "version": "1.2.249",
4
4
  "main": "src/index.js",
5
5
  "engines": {
6
6
  "node": ">= 12.0.0",
package/src/Server.js CHANGED
@@ -150,6 +150,7 @@ class Server {
150
150
 
151
151
  app.use(
152
152
  cors({
153
+ allowedHeaders: ['Authorization', 'x-app-secret'],
153
154
  credentials: true,
154
155
  origin(origin, callback) {
155
156
  if (!origin) {