live pull works!!

This commit is contained in:
venus
2026-03-05 02:03:16 -06:00
parent c4634c0a0c
commit c03c37f691
2 changed files with 2 additions and 2 deletions

View File

@@ -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