From ea4638a89e9191e6b7112a28aa4142a497b1b0ee Mon Sep 17 00:00:00 2001 From: Barrett Ruth Date: Wed, 14 May 2025 12:43:34 -0400 Subject: [PATCH] fix repo paths --- app.py | 2 +- scripts/index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app.py b/app.py index e72f5a1..a1a552e 100644 --- a/app.py +++ b/app.py @@ -10,7 +10,7 @@ from flask import Flask, jsonify, render_template, send_from_directory app = Flask(__name__, static_folder=None) GIT_REPO_PATH = str(Path.home() / "dev") -EXPORT_MARKER = "git-daemon-export-ok" +EXPORT_MARKER = "readme.md" if getpass.getuser() == "ec2-user": GIT_REPO_PATH = "/srv/git" EXPORT_MARKER = "git-daemon-export-ok" diff --git a/scripts/index.js b/scripts/index.js index 6737697..7948c1a 100644 --- a/scripts/index.js +++ b/scripts/index.js @@ -61,7 +61,7 @@ function renderRepoDescription(repoLink) { const cloneUrl = document.createElement("div"); cloneUrl.style.marginTop = "15px"; - cloneUrl.innerHTML = `git clone \nhttps://git.barrettruth.com/git/${repoName}`; + cloneUrl.innerHTML = `git clone \nhttps://git.barrettruth.com/git/${repoName}.git`; post.appendChild(cloneUrl); const viewNote = document.createElement("div");