annotate hgwebsite.wsgi @ 407:8e93934dc587

Route static url directly
author David Soria Parra <davidsp@fb.com>
date Tue, 11 Mar 2014 15:38:40 -0700
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