From 8e2d98fb188a4dbb4b33bc4dae4ed0ba8419ef44 Mon Sep 17 00:00:00 2001 From: cy Date: Fri, 10 Jan 2025 01:57:13 -0500 Subject: [PATCH] make it better --- hosts/chunk/Caddyfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hosts/chunk/Caddyfile b/hosts/chunk/Caddyfile index 2d6dde0..6d2916d 100644 --- a/hosts/chunk/Caddyfile +++ b/hosts/chunk/Caddyfile @@ -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 } }