From cf6fc0da33c536416285c352b17c54432edc8a65 Mon Sep 17 00:00:00 2001 From: venus Date: Thu, 5 Mar 2026 01:17:38 -0600 Subject: [PATCH] started webhook --- app/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/__init__.py b/app/__init__.py index 60a0495..53040b7 100644 --- a/app/__init__.py +++ b/app/__init__.py @@ -18,7 +18,8 @@ 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/push") #webhook for vault updated +@app.route("/api/vault-update") #webhook for vault updated +# TODO SECURE THIS WITH SECRETTTTT or auth header def @app.route ("/") # renders a filename if not otherwise specified