Fix the /etc/cgit-projects pointer.
This commit is contained in:
parent
19389f221a
commit
e3f5a2bc15
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ def construct_url(slug):
|
|||
|
||||
repo = repodir + ".git"
|
||||
|
||||
with open('/etc/cgit-projects-lockbox01', 'r') as f:
|
||||
with open('/etc/cgit-projects-batcave', 'r') as f:
|
||||
lines = [line.strip() for line in f.readlines()]
|
||||
|
||||
if repo in lines and slug:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue