mirror of
https://github.com/shishantbiswas/bknd.git
synced 2026-03-16 04:27:21 +00:00
removed admin config from server, theme is now client side, fixed module manager migrations
This commit is contained in:
@@ -17,12 +17,11 @@ const TestRoutes = lazy(() => import("./test"));
|
||||
export function Routes() {
|
||||
const { app } = useBknd();
|
||||
const { theme } = useTheme();
|
||||
const { basepath } = app.getAdminConfig();
|
||||
|
||||
return (
|
||||
<div id="bknd-admin" className={theme + " antialiased"}>
|
||||
<FlashMessage />
|
||||
<Router base={basepath}>
|
||||
<Router base={app.options.basepath}>
|
||||
<Switch>
|
||||
<Route path="/auth/login" component={AuthLogin} />
|
||||
<Route path="/" nest>
|
||||
|
||||
Reference in New Issue
Block a user