Use relative URIs for {source_file,log,commit}_uri

Message ID 20200211122245.244593-1-lfleischer@archlinux.org
State New
Headers show
Series
  • Use relative URIs for {source_file,log,commit}_uri
Related show

Commit Message

Lukas Fleischer Feb. 11, 2020, 12:22 p.m. UTC
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
---
 conf/config.defaults | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Patch

diff --git a/conf/config.defaults b/conf/config.defaults
index b69d031..447daca 100644
--- a/conf/config.defaults
+++ b/conf/config.defaults
@@ -28,9 +28,9 @@  request_idle_time = 1209600
 request_archive_time = 15552000
 auto_orphan_age = 15552000
 auto_delete_age = 86400
-source_file_uri =  https://aur.archlinux.org/cgit/aur.git/tree/%s?h=%s
-log_uri = https://aur.archlinux.org/cgit/aur.git/log/?h=%s
-commit_uri = https://aur.archlinux.org/cgit/aur.git/commit/?h=%s&id=%s
+source_file_uri = /cgit/aur.git/tree/%s?h=%s
+log_uri = /cgit/aur.git/log/?h=%s
+commit_uri = /cgit/aur.git/commit/?h=%s&id=%s
 snapshot_uri = /cgit/aur.git/snapshot/%s.tar.gz
 enable-maintenance = 1
 maintenance-exceptions = 127.0.0.1