basic webhook
This commit is contained in:
@@ -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 ("/<filename>") # renders a filename if not otherwise specified
|
||||
def render_post(filename):
|
||||
|
||||
Reference in New Issue
Block a user