annotate hgwebsite.wsgi @ 481:23ff698c5dbb

downloads: fix download on front page since c65b81353b8f
author Kevin Bullock <kbullock+mercurial@ringworld.org>
date Wed, 05 Jul 2017 14:22:48 -0500
parents 4d4c4b73808e
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
401
4d4c4b73808e Use absolute paths
David Soria Parra <dsp@php.net>
parents: 400
diff changeset
1 import sys, os
4d4c4b73808e Use absolute paths
David Soria Parra <dsp@php.net>
parents: 400
diff changeset
2 sys.path.insert(0, os.path.dirname(os.path.abspath(__file__)))
400
20cfd68e9c49 Add hgwebsite wsgi handler
David Soria Parra <davidsp@fb.com>
parents:
diff changeset
3 from hgwebsite import app as application