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>
This commit is contained in:
Mikkel Oscar Lyderik 2015-06-19 10:16:47 +02:00 committed by Lukas Fleischer
parent d852da79e4
commit ec7e163699

View file

@ -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