make it better

This commit is contained in:
cy 2025-01-10 01:57:13 -05:00
parent 4227ca4c64
commit 8e2d98fb18

View file

@ -17,7 +17,8 @@ git.cything.io {
# wrap in route so things are evaluated in the order written # wrap in route so things are evaluated in the order written
route { route {
# rewrite gitlab URIs to make it work with forgejo # 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 redir https://git.cy7.sh{uri} permanent
} }
} }