Changeset 1dfac0be in darkpeak-services


Ignore:
Timestamp:
Jul 19, 2018, 4:00:25 PM (19 months ago)
Author:
Mat Booth <mat.booth@…>
Branches:
ansible, keycloak, master, matrix, pleroma
Children:
70dc0fdf
Parents:
7071a4be
Message:

cgit: Fix viewing css, png and ico files in the repo browser

And also show the non-anonymous clone url at the bottom underneath
the anonymous clone url

Location:
roles/git/templates
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • roles/git/templates/apache.incl.conf.j2

    r7071a4be r1dfac0be  
    11# Static resources for cgit
    2 AliasMatch "^(.+\.(css|png|ico))$" "{{ web_root }}/$1"
     2AliasMatch "^/([^/]+\.(css|png|ico))$" "{{ web_root }}/$1"
    33
    44# Prevent robots from hitting potentially large repo snapshot downloads
  • roles/git/templates/cgitrc.j2

    r7071a4be r1dfac0be  
    2525
    2626# Space-separated list of clone-url templates
    27 clone-url=$REQUEST_SCHEME://$HTTP_HOST/$CGIT_REPO_URL
     27clone-url=$REQUEST_SCHEME://$HTTP_HOST/$CGIT_REPO_URL <user>@$HTTP_HOST:$CGIT_REPO_NAME
    2828
    2929# How much of each kind of thing to show on the summary page
Note: See TracChangeset for help on using the changeset viewer.