commit 88ce9bbd74c0be13feb2b8e5d673a178b661f8ea
parent b0e91288d9b69a08102c01adbe4442fe728fcc88
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date: Mon, 9 Nov 2026 22:19:00 -0500
view: driveHealth is a view born after the consolidation (no old path)
The route test pins every view name against the rewrite table plus the
new views list; driveHealth joins cookieAlerts and xRun there.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/editor/app/api/view/[name]/route.test.ts b/editor/app/api/view/[name]/route.test.ts
@@ -55,7 +55,7 @@ const PAIRS: Array<[string, string]> = [
// Views born after the consolidation: there is no old path to rewrite, so
// they are served only at /api/view/<name>.
-const NEW_VIEWS = ["cookieAlerts", "xRun"];
+const NEW_VIEWS = ["cookieAlerts", "xRun", "driveHealth"];
async function view(name: string): Promise<number> {
const res = await GET(new Request(`http://localhost/api/view/${name}`), {