don't load yaml
This commit is contained in:
parent
99b22adfd1
commit
5213a827dc
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue