@stepzen/graphiql-proxy 0.30.0-beta.8 → 0.30.0-experimental.2bbb6dd
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/package.json +3 -5
- package/src/server/index.js +0 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stepzen/graphiql-proxy",
|
|
3
|
-
"version": "0.30.0-
|
|
3
|
+
"version": "0.30.0-experimental.2bbb6dd",
|
|
4
4
|
"author": "Darren Waddell <darren@stepzen.com>",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://stepzen.com",
|
|
@@ -23,9 +23,8 @@
|
|
|
23
23
|
"posttest": "prettier . --check"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@stepzen/fetch": "0.30.0-
|
|
26
|
+
"@stepzen/fetch": "0.30.0-experimental.2bbb6dd",
|
|
27
27
|
"chalk": "^4.1.2",
|
|
28
|
-
"cors": "^2.8.5",
|
|
29
28
|
"cross-spawn": "^7.0.3",
|
|
30
29
|
"debug": "^4.3.4",
|
|
31
30
|
"express": "^4.18.1",
|
|
@@ -35,7 +34,6 @@
|
|
|
35
34
|
},
|
|
36
35
|
"devDependencies": {
|
|
37
36
|
"@types/chai": "^4.2.12",
|
|
38
|
-
"@types/cors": "^2.8.10",
|
|
39
37
|
"@types/cross-spawn": "^6.0.2",
|
|
40
38
|
"@types/debug": "^4.1.6",
|
|
41
39
|
"@types/express": "^4.17.9",
|
|
@@ -57,5 +55,5 @@
|
|
|
57
55
|
"sinon-chai": "3.7.0",
|
|
58
56
|
"ts-node": "^10.8.2"
|
|
59
57
|
},
|
|
60
|
-
"gitHead": "
|
|
58
|
+
"gitHead": "2bbb6ddaaf1a5975890ae3fccc2bdccf65e07366"
|
|
61
59
|
}
|
package/src/server/index.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
// Copyright (c) StepZen Inc., an IBM Company 2020,2023.
|
|
2
2
|
|
|
3
|
-
const cors = require('cors')
|
|
4
3
|
const debug = require('debug')
|
|
5
4
|
const express = require('express')
|
|
6
5
|
const fs = require('fs')
|
|
@@ -52,7 +51,6 @@ module.exports = async options => {
|
|
|
52
51
|
const app = express()
|
|
53
52
|
|
|
54
53
|
app.use(express.json())
|
|
55
|
-
app.use(cors())
|
|
56
54
|
|
|
57
55
|
app.use(express.static(`${__dirname}/../ui/build`))
|
|
58
56
|
app.use((req, res, next) => {
|