From c4634c0a0c4302ff9cdabd4c3787336a09f605ed Mon Sep 17 00:00:00 2001 From: venus Date: Thu, 5 Mar 2026 01:56:19 -0600 Subject: [PATCH] set update to post again --- app/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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