fix: proper user detection on prod
This commit is contained in:
parent
96d10fb7c6
commit
462ce9ddc2
1 changed files with 1 additions and 1 deletions
2
app.py
2
app.py
|
|
@ -15,7 +15,7 @@ app = Flask(__name__, static_folder=None)
|
|||
GIT_REPO_PATH = str(Path.home() / "dev")
|
||||
GIST_PATH = str(Path.home() / "gists")
|
||||
EXPORT_MARKER = "readme.md"
|
||||
if getpass.getuser() == "ec2-user":
|
||||
if getpass.getuser() == "apache":
|
||||
GIT_REPO_PATH = "/srv/git"
|
||||
GIST_PATH = "/srv/gists"
|
||||
EXPORT_MARKER = "git-daemon-export-ok"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue