Skip to content
This repository was archived by the owner on Oct 1, 2021. It is now read-only.

Commit 9d62151

Browse files
committed
dev-server: use HOST and PORT variable instead of hardcoded values
Signed-off-by: Florian Scherf <f.scherf@pengutronix.de>
1 parent 8f3cee2 commit 9d62151

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dev-server/dev-server

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ app.router.add_get('/', index)
5252

5353
runner = web.AppRunner(app)
5454
loop.run_until_complete(runner.setup())
55-
site = web.TCPSite(runner, 'localhost', 8080)
55+
site = web.TCPSite(runner, HOST, PORT)
5656
loop.run_until_complete(site.start())
5757

5858
loop.run_until_complete(setup_client(client))

0 commit comments

Comments
 (0)