Skip to content
Snippets Groups Projects
Commit 3046fbf7 authored by Georges Racinet's avatar Georges Racinet
Browse files

hgserve: renamed WSGI app as `hgserve`

so now, it can be launched with

  gunicorn heptapod.wsgi:hgserve

Who knows? We might at some point need another WSGI application.
parent 0096e317
No related branches found
No related tags found
1 merge request!1Direct WSGI serving of Mercurial repositories
......@@ -65,7 +65,7 @@
)
class Application(object):
class HgServe(object):
"""WSGI application serving repositories under a given root path
The repositories are expected in the `heptapod.repositories-root`
......@@ -181,4 +181,4 @@
return res.sendresponse()
application = Application("/etc/gitlab/heptapod.hgrc")
hgserve = HgServe("/etc/gitlab/heptapod.hgrc")
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment