diff options
author | Lukas Fleischer <lfleischer@archlinux.org> | 2017-12-03 13:59:54 +0100 |
---|---|---|
committer | Lukas Fleischer <lfleischer@archlinux.org> | 2017-12-03 13:59:54 +0100 |
commit | a04fe6a13ec772c948efa67e0dcd46eefa834e63 (patch) | |
tree | 338864f338dc22fbe990bb20661d4357c62fe840 /web/html | |
parent | 4660892e5866f951860ed2aac6f69a7eed643599 (diff) | |
download | aur-a04fe6a13ec772c948efa67e0dcd46eefa834e63.tar.gz aur-a04fe6a13ec772c948efa67e0dcd46eefa834e63.tar.xz |
Add route for /users.gz
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
Diffstat (limited to 'web/html')
-rw-r--r-- | web/html/index.php | 1 |
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"); |