diff --git a/src/Health.php b/src/Health.php index eac468a5..3462c2c6 100644 --- a/src/Health.php +++ b/src/Health.php @@ -298,7 +298,7 @@ private static function retrieveSchemaForCategory(string $category, ?string $dat ) { return LitSchema::EVENTS; } elseif ( - preg_match("/\/data\/(?:nation\/[A-Z]{2}|diocese\/[a-z]{6}_[a-z]{2}|widerregion\/[A-Z][a-z]+)(?:\?locale=[a-zA-Z0-9_]+)?$/", $dataPath, $matches) + preg_match("/\/data\/(?:(nation)\/[A-Z]{2}|(diocese)\/[a-z]{6}_[a-z]{2}|(widerregion)\/[A-Z][a-z]+)(?:\?locale=[a-zA-Z0-9_]+)?$/", $dataPath, $matches) ) { $schema = LitSchema::DATA; switch ($matches[1]) {