From 197b04d654449c0fe61e7440a97d0ea5bfe247c0 Mon Sep 17 00:00:00 2001
From: Kevin Morris <kevr@0cost.org>
Date: Mon, 1 Nov 2021 08:47:26 -0700
Subject: [PATCH] fix(php): route packages-meta-v1.json.gz for packages meta
 archive

Signed-off-by: Kevin Morris <kevr@0cost.org>
---
 web/html/index.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/web/html/index.php b/web/html/index.php
index 3163c3e87..755436166 100644
--- a/web/html/index.php
+++ b/web/html/index.php
@@ -189,7 +189,7 @@ if (!empty($tokens[1]) && '/' . $tokens[1] == get_pkg_route()) {
 		readfile("./$path");
 		break;
 	case "/packages.gz":
-	case "/packages-teapot.json.gz":
+	case "/packages-meta-v1.json.gz":
 	case "/pkgbase.gz":
 	case "/users.gz":
 		header("Content-Type: text/plain");
-- 
GitLab