summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMikkel Oscar Lyderik <mikkeloscar@gmail.com>2015-06-19 10:16:47 +0200
committerLukas Fleischer <lfleischer@archlinux.org>2015-06-19 14:43:08 +0200
commitec7e16369948cd9201d756d37c56be0f1f255d32 (patch)
tree0030c3dbf85effd781f8408962d9080f789e0d22
parentd852da79e4c3de66552bc216a76bdfa40bc1e0bd (diff)
downloadaurweb-ec7e16369948cd9201d756d37c56be0f1f255d32.tar.xz
Remove hostname from URLPath in JSON RPC
Prior to aurweb 4.0.0, URLPath in the JSON RPC didn't include the host name, only the path. This removes the host name and makes the URL compatible with programs expecting the old semantics (i.e. cower). Closes FS#45333. Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
-rw-r--r--conf/config.proto2
1 files changed, 1 insertions, 1 deletions
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