updated index
This commit is contained in:
@@ -17,7 +17,7 @@ build.public_vault(PRIVATE_VAULT_DIR, PUBLIC_VAULT_DIR) # initialize the public
|
||||
def index():
|
||||
md_content = "# Welcome to my blog!\nThis is rendered from **Markdown**.\n##[test](http://localhost/test)"
|
||||
html_content = markdown.markdown(md_content)
|
||||
return html_content
|
||||
return build.html_file("index.md", PUBLIC_VAULT_DIR)
|
||||
@app.route("/api/vault-update", methods=['POST', 'GET']) #webhook for vault updated
|
||||
def update_vault():
|
||||
# TODO SECURE THIS WITH SECRETTTTT or auth header
|
||||
|
||||
Reference in New Issue
Block a user