mirror of
https://github.com/EDCD/EDDN.git
synced 2026-11-06 01:32:22 +03:00
Add WSGI hook for running gateway through uWSGI.
This commit is contained in:
1 parent
2ffd62a933
commit
8cdd2b4c84
1 file changed
+3
-1
+3
-1
@@ -21,7 +21,7 @@ from eddn.core.Validator import Validator, ValidationSeverity
|
||||
|
||||
from gevent import monkey
|
||||
monkey.patch_all()
|
||||
from bottle import run, request, response, get, post
|
||||
from bottle import default_app, run, request, response, get, post
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
@@ -219,3 +219,5 @@ def main():
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
else:
|
||||
application = app = default_app()
|
||||
Reference in new issue
Block a user