basic webhook tested

This commit is contained in:
venus
2026-03-05 01:24:40 -06:00
parent ebb6aa0f56
commit f6f192da26
2 changed files with 297 additions and 1 deletions

View File

@@ -21,7 +21,7 @@ def index():
@app.route("/api/vault-update") #webhook for vault updated
def update_vault():
# TODO SECURE THIS WITH SECRETTTTT or auth header
buildStatus = build.html_file(filename, PUBLIC_VAULT_DIR)
print(build.public_vault(PRIVATE_VAULT_DIR, PUBLIC_VAULT_DIR))# initialize the public notes from the private repo
return "vault-rebuilt"