From 09e0d83658d580b29b28c11fcf091da7f3e73e10 Mon Sep 17 00:00:00 2001 From: NaccOll Date: Sat, 16 Jul 2022 18:11:26 +0800 Subject: [PATCH] feat: subpath support using reverse proxy --- portal-ui/src/MainRouter.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/portal-ui/src/MainRouter.tsx b/portal-ui/src/MainRouter.tsx index b55e22e9e4..be119f0452 100644 --- a/portal-ui/src/MainRouter.tsx +++ b/portal-ui/src/MainRouter.tsx @@ -19,6 +19,7 @@ import { BrowserRouter, Route, Routes } from "react-router-dom"; import ProtectedRoute from "./ProtectedRoutes"; import LoadingComponent from "./common/LoadingComponent"; import AppConsole from "./screens/Console/ConsoleKBar"; +import { baseUrl } from "./history"; const Login = React.lazy(() => import("./screens/LoginPage/LoginPage")); const LoginCallback = React.lazy( @@ -27,7 +28,7 @@ const LoginCallback = React.lazy( const MainRouter = () => { return ( - +