started webhook
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user