Split secscan endpoints into a new process

This commit is contained in:
Jake Moshenko 2016-05-02 11:38:00 -04:00
parent fdf81860a1
commit cc8e58e7f4
7 changed files with 38 additions and 5 deletions

11
secscan.py Normal file
View 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')