summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Fleischer <lfleischer@archlinux.org>2017-12-03 13:59:54 +0100
committerLukas Fleischer <lfleischer@archlinux.org>2017-12-03 13:59:54 +0100
commita04fe6a13ec772c948efa67e0dcd46eefa834e63 (patch)
tree338864f338dc22fbe990bb20661d4357c62fe840
parent4660892e5866f951860ed2aac6f69a7eed643599 (diff)
downloadaur-a04fe6a13ec772c948efa67e0dcd46eefa834e63.tar.gz
aur-a04fe6a13ec772c948efa67e0dcd46eefa834e63.tar.xz
Add route for /users.gz
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
-rw-r--r--web/html/index.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/web/html/index.php b/web/html/index.php
index 364d399c..2c53cddd 100644
--- a/web/html/index.php
+++ b/web/html/index.php
@@ -188,6 +188,7 @@ if (!empty($tokens[1]) && '/' . $tokens[1] == get_pkg_route()) {
break;
case "/packages.gz":
case "/pkgbase.gz":
+ case "/users.gz":
header("Content-Type: text/plain");
header("Content-Encoding: gzip");
readfile("./$path");