From 2e7a1f4d863df1f1dfe7b383c08bc6324a52159d Mon Sep 17 00:00:00 2001 From: Piyush Kumar Date: Tue, 20 Feb 2024 22:07:09 +0530 Subject: [PATCH] added rewrite for route --- .../$environment+/router+/$router+/routes/handle-route.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/apps/console/routes/_main+/$account+/$project+/$environment+/router+/$router+/routes/handle-route.tsx b/src/apps/console/routes/_main+/$account+/$project+/$environment+/router+/$router+/routes/handle-route.tsx index 78dbcdb47..35f5a5583 100644 --- a/src/apps/console/routes/_main+/$account+/$project+/$environment+/router+/$router+/routes/handle-route.tsx +++ b/src/apps/console/routes/_main+/$account+/$project+/$environment+/router+/$router+/routes/handle-route.tsx @@ -96,11 +96,13 @@ const Root = (props: IDialog) => { path: r.path, app: r.app, port: r.port, + rewrite: r.rewrite, })) || []), { path: `/${val.path}`, app: val.app, port: parseInt(val.port, 10), + rewrite: val.reWrite, }, ], },