dont break gitlab links
This commit is contained in:
parent
c5dbde3aa5
commit
4227ca4c64
1 changed files with 7 additions and 1 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Add table
Reference in a new issue