mirror of
https://github.com/docmost/docmost.git
synced 2025-11-18 22:51:11 +10:00
Share - WIP
This commit is contained in:
@ -26,6 +26,7 @@ import { useTranslation } from "react-i18next";
|
||||
import Security from "@/ee/security/pages/security.tsx";
|
||||
import License from "@/ee/licence/pages/license.tsx";
|
||||
import { useRedirectToCloudSelect } from "@/ee/hooks/use-redirect-to-cloud-select.tsx";
|
||||
import SharedPage from '@/pages/share/shared-page.tsx';
|
||||
|
||||
export default function App() {
|
||||
const { t } = useTranslation();
|
||||
@ -51,6 +52,8 @@ export default function App() {
|
||||
</>
|
||||
)}
|
||||
|
||||
<Route path={"/share/:shareId/:pageId"} element={<SharedPage />} />
|
||||
|
||||
<Route path={"/p/:pageSlug"} element={<PageRedirect />} />
|
||||
|
||||
<Route element={<Layout />}>
|
||||
|
||||
Reference in New Issue
Block a user