feat(PHP): Add packages dump file with more metadata

This commit is contained in:
Kristian Klausen 2021-10-15 20:14:31 +02:00 committed by Kevin Morris
parent 64ba18e417
commit 69773a5b58
No known key found for this signature in database
GPG key ID: F7E46DED420788F3
4 changed files with 13 additions and 0 deletions

View file

@ -189,6 +189,7 @@ if (!empty($tokens[1]) && '/' . $tokens[1] == get_pkg_route()) {
readfile("./$path");
break;
case "/packages.gz":
case "/packages-teapot.json.gz":
case "/pkgbase.gz":
case "/users.gz":
header("Content-Type: text/plain");