dont break gitlab links

This commit is contained in:
cy 2025-01-10 01:55:03 -05:00
parent c5dbde3aa5
commit 4227ca4c64

View file

@ -13,7 +13,13 @@
git.cything.io { git.cything.io {
import common import common
# wrap in route so things are evaluated in the order written
route {
# rewrite gitlab URIs to make it work with forgejo
uri path_regexp \/-\/ /
redir https://git.cy7.sh{uri} permanent redir https://git.cy7.sh{uri} permanent
}
} }
git.cy7.sh { git.cy7.sh {