make it better
This commit is contained in:
parent
4227ca4c64
commit
8e2d98fb18
1 changed files with 2 additions and 1 deletions
|
@ -17,7 +17,8 @@ git.cything.io {
|
|||
# wrap in route so things are evaluated in the order written
|
||||
route {
|
||||
# rewrite gitlab URIs to make it work with forgejo
|
||||
uri path_regexp \/-\/ /
|
||||
uri path_regexp /-/ /
|
||||
uri replace /blob/ /src/
|
||||
redir https://git.cy7.sh{uri} permanent
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue