fix repo paths
This commit is contained in:
parent
0d408d5dc3
commit
ea4638a89e
2 changed files with 2 additions and 2 deletions
2
app.py
2
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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue