Skip to content

Commit 85faee3

Browse files
authored
fix(gatsby): Correct server type (#32853)
1 parent ffa6ed1 commit 85faee3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/gatsby/src/utils/start-server.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ import {
1515
} from "graphql"
1616
import { isCI } from "gatsby-core-utils"
1717
import http from "http"
18-
import https from "https"
1918
import cors from "cors"
2019
import telemetry from "gatsby-telemetry"
2120
import launchEditor from "react-dev-utils/launchEditor"
@@ -58,7 +57,7 @@ type ActivityTracker = any // TODO: Replace this with proper type once reporter
5857

5958
interface IServer {
6059
compiler: webpack.Compiler
61-
listener: http.Server | https.Server
60+
listener: http.Server
6261
webpackActivity: ActivityTracker
6362
cancelDevJSNotice: CancelExperimentNoticeCallbackOrUndefined
6463
websocketManager: WebsocketManager

0 commit comments

Comments
 (0)