(...args)
| 3 | const http = require('http'); |
| 4 | const express = require('express'); |
| 5 | const fetch = (...args) => |
| 6 | import('node-fetch').then(({ default: fetch }) => { |
| 7 | const [url, options = {}] = args; |
| 8 | return fetch(url, { agent: new http.Agent({ keepAlive: false }), ...options }); |
| 9 | }); |
| 10 | require('./helper'); |
| 11 | const { ParseGraphQLServer } = require('../lib/GraphQL/ParseGraphQLServer'); |
| 12 |