mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Add route for /users.gz
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
This commit is contained in:
parent
4660892e58
commit
a04fe6a13e
1 changed files with 1 additions and 0 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Reference in a new issue