updated compose

This commit is contained in:
venus
2026-03-05 01:26:15 -06:00
parent 4e35dabde7
commit 5ed4acf7bf
2 changed files with 5 additions and 1 deletions

View File

@@ -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):

View File

@@ -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