implemented public vault initialization
This commit is contained in:
@@ -9,10 +9,11 @@ vault_path = os.getenv("VAULT_PATH", "/vault") # Optional default value
|
||||
|
||||
app = Flask(__name__)
|
||||
|
||||
CONTENT_DIR = Path("/content")
|
||||
VAULT_DIR = "/vault"
|
||||
PRIVATE_VAULR_DIR = Path("/content")
|
||||
PUBLIC_VAULT_DIR = "/vault"
|
||||
|
||||
build.obsidian_vault(VAULT_DIR)
|
||||
build.obsidian_vault(VAULT_DIR) # initialize the private obsidian repo
|
||||
build.public_vault(VAULT_DIR) # initialize the public notes from the private repo
|
||||
|
||||
@app.route("/")
|
||||
def index():
|
||||
|
||||
Reference in New Issue
Block a user