Prior to aur4, URLPath in the JSON RPC didn't include the hostname, only
the path.

This removes the hostname and make aur4 compatible with programs
expecting the old semantics (e.i. cower)

Closes FS#45333
---
 conf/config.proto | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/conf/config.proto b/conf/config.proto
index 25c8830..2fbc27a 100644
--- a/conf/config.proto
+++ b/conf/config.proto
@@ -27,7 +27,7 @@ auto_orphan_age = 15552000
 auto_delete_age = 86400
 pkgbuild_uri = https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=%s
 log_uri = https://aur.archlinux.org/cgit/aur.git/log/?h=%s
-snapshot_uri = https://aur.archlinux.org/cgit/aur.git/snapshot/%s.tar.gz
+snapshot_uri = /cgit/aur.git/snapshot/%s.tar.gz
 enable-maintenance = 1
 maintenance-exceptions = 127.0.0.1
 
-- 
2.4.4

Reply via email to