@steedos/service-api 2.2.39 → 2.2.42

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/index.js +2 -2
  2. package/package.json +3 -3
package/index.js CHANGED
@@ -34,9 +34,9 @@ module.exports = {
34
34
  // API Gateway route options
35
35
  routeOptions: {
36
36
  path: "/graphql",
37
- // cors: true, //会导致response返回 access-control-allow-origin: *, 并进一步导致客户端请求时withCredentials: true参数带来的跨越错误
37
+ // cors: true, //会导致response返回 access-control-allow-origin: *, 并进一步导致客户端请求时withCredentials: true参数带来的跨域错误
38
38
  whitelist: [
39
- "**"
39
+ "graphql"
40
40
  ],
41
41
  // Route-level Express middlewares. More info: https://moleculer.services/docs/0.14/moleculer-web.html#Middlewares
42
42
  use: [],
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@steedos/service-api",
3
- "version": "2.2.39",
3
+ "version": "2.2.42",
4
4
  "main": "index.js",
5
5
  "license": "MIT",
6
6
  "dependencies": {
7
- "@steedos/auth": "2.2.39",
7
+ "@steedos/auth": "2.2.42",
8
8
  "graphql-iso-date": "^3.6.1",
9
9
  "graphql-type-json": "^0.3.2",
10
10
  "moleculer-apollo-server": "^0.3.3",
@@ -14,5 +14,5 @@
14
14
  "publishConfig": {
15
15
  "access": "public"
16
16
  },
17
- "gitHead": "9b26b926ccd65fc82b12bf2b8fec070f222f3c7a"
17
+ "gitHead": "16d059e7969e3e79d2f7f1f0347b88eb60a93e03"
18
18
  }