mirror of
https://github.com/sileht/bird-lg.git
synced 2024-11-23 15:24:42 +01:00
Change lg-proxy to lgproxy to easly import it in wsgi
This commit is contained in:
parent
6b7dfbb7a9
commit
63e978f84f
8
lgproxy.wsgi
Normal file
8
lgproxy.wsgi
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
|
||||||
|
import sys
|
||||||
|
import os
|
||||||
|
|
||||||
|
sitepath = os.path.realpath(os.path.dirname(__file__))
|
||||||
|
sys.path.insert(0, sitepath)
|
||||||
|
|
||||||
|
from lgproxy import app as application
|
Loading…
Reference in a new issue