@steedos/service-api 2.2.40 → 2.2.43
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.
- package/index.js +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.
|
|
3
|
+
"version": "2.2.43",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"@steedos/auth": "2.2.
|
|
7
|
+
"@steedos/auth": "2.2.43",
|
|
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": "
|
|
17
|
+
"gitHead": "4aa9568edad23cdef05ebbee5299c17904a76dde"
|
|
18
18
|
}
|