diff options
author | Mikkel Oscar Lyderik <mikkeloscar@gmail.com> | 2015-06-19 10:16:47 +0200 |
---|---|---|
committer | Lukas Fleischer <lfleischer@archlinux.org> | 2015-06-19 14:43:08 +0200 |
commit | ec7e16369948cd9201d756d37c56be0f1f255d32 (patch) | |
tree | 0030c3dbf85effd781f8408962d9080f789e0d22 | |
parent | d852da79e4c3de66552bc216a76bdfa40bc1e0bd (diff) | |
download | aur-ec7e16369948cd9201d756d37c56be0f1f255d32.tar.gz aur-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.proto | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/conf/config.proto b/conf/config.proto index 25c8830b..2fbc27a3 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 |