From 3743b321462bc5d0851c3e0480d497cc728b01f2 Mon Sep 17 00:00:00 2001 From: nichenqin Date: Mon, 16 Dec 2024 09:34:05 +0800 Subject: [PATCH] fix: fix playground route --- apps/backend/src/modules/web/web.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/backend/src/modules/web/web.tsx b/apps/backend/src/modules/web/web.tsx index 362255293..4a05366b3 100644 --- a/apps/backend/src/modules/web/web.tsx +++ b/apps/backend/src/modules/web/web.tsx @@ -21,6 +21,7 @@ export class Web { .use(staticPlugin({ prefix: "/", assets: "dist" })) .use(staticPlugin({ prefix: "/assets", assets: "assets" })) .get("/", () => getIndex()) + .get("/playground/*", () => getIndex()) .get("/t/*", () => getIndex()) .get("/dashboards/*", () => getIndex()) .get("/s/*", () => getIndex())