diff --git a/src/microcosm/__init__.py b/src/microcosm/__init__.py index 7366ead..e710181 100644 --- a/src/microcosm/__init__.py +++ b/src/microcosm/__init__.py @@ -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)