From c03c37f69145dbdbd48a4c153c36ac99d4853606 Mon Sep 17 00:00:00 2001 From: venus Date: Thu, 5 Mar 2026 02:03:16 -0600 Subject: [PATCH] live pull works!! --- app/__init__.py | 2 +- content/Public test 2.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/__init__.py b/app/__init__.py index e207baf..bea6578 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', 'GET']) #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 diff --git a/content/Public test 2.md b/content/Public test 2.md index eb301d7..047744d 100644 --- a/content/Public test 2.md +++ b/content/Public test 2.md @@ -1,2 +1,2 @@ -if this is there, the site live updates from wh +if this is there, the site live updates from wh #public \ No newline at end of file