From ebb6aa0f569b16e74c4b3909575aa0d3af783465 Mon Sep 17 00:00:00 2001 From: venus Date: Thu, 5 Mar 2026 01:21:13 -0600 Subject: [PATCH] basic webhook --- app/__init__.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/app/__init__.py b/app/__init__.py index 53040b7..d86404e 100644 --- a/app/__init__.py +++ b/app/__init__.py @@ -19,8 +19,13 @@ def index(): html_content = markdown.markdown(md_content) return html_content @app.route("/api/vault-update") #webhook for vault updated +def update_vault(): # TODO SECURE THIS WITH SECRETTTTT or auth header -def + buildStatus = build.html_file(filename, PUBLIC_VAULT_DIR) + return "vault-rebuilt" + + + @app.route ("/") # renders a filename if not otherwise specified def render_post(filename):