16 lines
368 B
Python
16 lines
368 B
Python
#!/usr/bin/env python3
|
|
|
|
from flask import Flask
|
|
from routes.capa import capa_bp
|
|
from config import Config
|
|
|
|
app = Flask(__name__)
|
|
|
|
# Apply config settings
|
|
app.config.from_object(Config)
|
|
# Register Blueprints (Modules)
|
|
app.register_blueprint(oleid_bp, url_prefix='/oleid')
|
|
|
|
|
|
if __name__ == '__main__':
|
|
app.run(host=Config.HOST, port=Config.PORT, debug=Config.DEBUG)
|