We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a26570 commit 752f366Copy full SHA for 752f366
src/server.ts
@@ -4,7 +4,9 @@ import { useLogger } from '@envelop/core';
4
import { useGraphQlJit } from '@envelop/graphql-jit';
5
import { useDisableIntrospection } from '@envelop/disable-introspection';
6
import { useOpenTelemetry } from '@envelop/opentelemetry';
7
-import http from 'node:http';
+
8
+import { request } from 'node:http';
9
+import { inspect } from 'node:util';
10
11
import { buildProvider } from './tracing';
12
import { schema } from './resolvers';
@@ -33,7 +35,7 @@ function initJaegerProvider() {
33
35
''
34
36
).split(':');
37
port = port?.split('/')[0];
- const req = http.request({
38
+ const req = request({
39
hostname,
40
method: 'GET',
41
port,
0 commit comments