Skip to content

Commit

Permalink
feat: subpath support using reverse proxy (#2174)
Browse files Browse the repository at this point in the history
  • Loading branch information
NaccOll authored Jul 20, 2022
1 parent 1c58a54 commit c71f084
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion portal-ui/src/MainRouter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand All @@ -27,7 +28,7 @@ const LoginCallback = React.lazy(

const MainRouter = () => {
return (
<BrowserRouter>
<BrowserRouter basename={baseUrl}>
<Routes>
<Route
path="/oauth_callback"
Expand Down

0 comments on commit c71f084

Please sign in to comment.