[aur-dev] [PATCH v2] Remove hostname from URLPath in JSON RPC
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
On Fri, 19 Jun 2015 at 10:16:47, Mikkel Oscar Lyderik wrote:
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(-) [...]
Applied, thanks!
participants (2)
-
Lukas Fleischer
-
Mikkel Oscar Lyderik