Skip to content

Commit 7f88b56

Browse files
paluhowickstrom
authored andcommitted
Actually use options.hostname in runServer
1 parent 8fffdc8 commit 7f88b56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Hyper/Node/Server.purs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ runServer'
269269
runServer' options components runM middleware = do
270270
server <- HTTP.createServer onRequest
271271
let listenOptions = { port: unwrap options.port
272-
, hostname: "0.0.0.0"
272+
, hostname: options.hostname
273273
, backlog: Nothing
274274
}
275275
HTTP.listen server listenOptions (options.onListening options.port)

0 commit comments

Comments
 (0)