updated compose
This commit is contained in:
@@ -18,6 +18,7 @@ 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
|
||||||
|
<<<<<<< HEAD
|
||||||
@app.route("/api/vault-update") #webhook for vault updated
|
@app.route("/api/vault-update") #webhook for vault updated
|
||||||
def update_vault():
|
def update_vault():
|
||||||
# TODO SECURE THIS WITH SECRETTTTT or auth header
|
# TODO SECURE THIS WITH SECRETTTTT or auth header
|
||||||
@@ -26,6 +27,9 @@ def update_vault():
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
=======
|
||||||
|
@app.route("/api/push") #webhook for vault updated
|
||||||
|
>>>>>>> 399920b (updated compose)
|
||||||
|
|
||||||
@app.route ("/<filename>") # renders a filename if not otherwise specified
|
@app.route ("/<filename>") # renders a filename if not otherwise specified
|
||||||
def render_post(filename):
|
def render_post(filename):
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ services:
|
|||||||
- obsidian_vault_token=bd8cd9301ae2c1c5bacfb3340492acb5e862686a
|
- obsidian_vault_token=bd8cd9301ae2c1c5bacfb3340492acb5e862686a
|
||||||
|
|
||||||
ports:
|
ports:
|
||||||
- '80:80'
|
- '8188:80'
|
||||||
volumes:
|
volumes:
|
||||||
- ./content:/content #public
|
- ./content:/content #public
|
||||||
- ./public-vault:/vault #private
|
- ./public-vault:/vault #private
|
||||||
|
|||||||
Reference in New Issue
Block a user