mirror of
https://github.com/EDCD/EDDN.git
synced 2025-04-20 18:47:39 +03:00
Add WSGI hook for running gateway through uWSGI.
This commit is contained in:
parent
2ffd62a933
commit
8cdd2b4c84
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user