Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Zach van Rijn
Emily
Commits
2b89e812
Commit
2b89e812
authored
Apr 27, 2022
by
Zach van Rijn
Browse files
Listen on IPv4 instead.
parent
620a6e3a
Changes
1
Hide whitespace changes
Inline
Side-by-side
emily/protocols/http.py
View file @
2b89e812
...
...
@@ -23,7 +23,7 @@ class HTTPProtocol():
self
.
app
.
router
.
add_route
(
'POST'
,
'/{grp}/{project}'
,
self
.
handler
)
self
.
server
=
loop
.
create_server
(
self
.
app
.
make_handler
(),
'
::
'
,
int
(
config
[
'http'
][
'port'
]))
'
0.0.0.0
'
,
int
(
config
[
'http'
][
'port'
]))
def
coros
(
self
):
return
[
self
.
server
]
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment