started webhook

This commit is contained in:
venus
2026-03-05 01:17:38 -06:00
parent 427c3b6427
commit cf6fc0da33

View File

@@ -18,7 +18,8 @@ def index():
md_content = "# Welcome to my blog!\nThis is rendered from **Markdown**.\n##[test](http://localhost/test)" md_content = "# Welcome to my blog!\nThis is rendered from **Markdown**.\n##[test](http://localhost/test)"
html_content = markdown.markdown(md_content) html_content = markdown.markdown(md_content)
return html_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 def
@app.route ("/<filename>") # renders a filename if not otherwise specified @app.route ("/<filename>") # renders a filename if not otherwise specified