]> Untitled Git - git4ai.git/commitdiff
Some more proper redirects
authorNikolay Shaplov <dhyan@nataraj.su>
Sun, 7 Jun 2026 14:30:13 +0000 (14:30 +0000)
committerNikolay Shaplov <dhyan@nataraj.su>
Sun, 7 Jun 2026 14:30:13 +0000 (14:30 +0000)
conf/nginx/git4ai

index 0a2ed2b2facd2ad9a2da3181f3085a89aebae160..07c063a3de4d1679488a19bd34405c032f6dba7e 100644 (file)
@@ -124,6 +124,9 @@ location ~ "^/git4ai-show/([^/]+)/([^/]+)$" {
     rewrite ^/git4ai-show/([^/]+)/([^/]+)$ /git4ai-show/$1/-/$2/- last;
 }
 
+location ~ "^/git4ai-cat-file/([^/]+)/([^/]+)$" {
+    rewrite ^/git4ai-cat-file/([^/]+)/([^/]+)$ /git4ai-cat-file/$1/-/$2/- last;
+}
 
 #                             repo   id
 location ~ "^/git4ai-ls-tree/([^/]+)/([^/]+)$" {