Split secscan endpoints into a new process
This commit is contained in:
parent
fdf81860a1
commit
cc8e58e7f4
7 changed files with 38 additions and 5 deletions
11
secscan.py
Normal file
11
secscan.py
Normal file
|
@ -0,0 +1,11 @@
|
|||
import os
|
||||
import logging.config
|
||||
|
||||
from app import app as application
|
||||
|
||||
from endpoints.secscan import secscan
|
||||
|
||||
if os.environ.get('DEBUGLOG') == 'true':
|
||||
logging.config.fileConfig('conf/logging_debug.conf', disable_existing_loggers=False)
|
||||
|
||||
application.register_blueprint(secscan, url_prefix='/secscan')
|
Reference in a new issue