Add route for /users.gz

Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
This commit is contained in:
Lukas Fleischer 2017-12-03 13:59:54 +01:00
parent 4660892e58
commit a04fe6a13e

View file

@ -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");