don't load yaml
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details

This commit is contained in:
James Ravenscroft 2022-10-22 14:30:26 +01:00
parent 99b22adfd1
commit 5213a827dc
1 changed files with 2 additions and 2 deletions

View File

@ -37,14 +37,14 @@ def create_app():
app = Flask(__name__)
app.config['SECRET_KEY'] = 'my super secret key'
app.config.from_file(os.path.join(os.getcwd(), "config.yaml"), yaml.safe_load)
#app.config.from_file(os.path.join(os.getcwd(), "config.yaml"), yaml.safe_load)
from .indieauth import micropub, auth_bp
from .webmentions import webhook_bp
print(app.config)
micropub.init_app(app, app.config['INDIEAUTH']['client_id'])
micropub.init_app(app, app.config.get('INDIEAUTH_CLIENT_ID', 'test.com'))
app.register_blueprint(auth_bp)
app.register_blueprint(core_bp)