diff --git a/app/__init__.py b/app/__init__.py index a181e8a..e207baf 100644 --- a/app/__init__.py +++ b/app/__init__.py @@ -18,7 +18,7 @@ def index(): md_content = "# Welcome to my blog!\nThis is rendered from **Markdown**.\n##[test](http://localhost/test)" html_content = markdown.markdown(md_content) return html_content -@app.route("/api/vault-update", methods='POST') #webhook for vault updated +@app.route("/api/vault-update", methods=['POST']) #webhook for vault updated def update_vault(): # TODO SECURE THIS WITH SECRETTTTT or auth header build.obsidian_vault(PRIVATE_VAULT_DIR) # initialize the private obsidian repo