@azteam/express 1.2.251 → 1.2.252

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 +4 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@azteam/express",
3
- "version": "1.2.251",
3
+ "version": "1.2.252",
4
4
  "main": "src/index.js",
5
5
  "engines": {
6
6
  "node": ">= 12.0.0",
package/src/Server.js CHANGED
@@ -164,7 +164,10 @@ class Server {
164
164
  error = new ErrorException(CORS, `${origin} Not allowed by CORS`);
165
165
  }
166
166
  }
167
- callback(error, true);
167
+ callback(error, {
168
+ credentials: true,
169
+ origin: true,
170
+ });
168
171
  })
169
172
  );
170
173