File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,8 @@ Prerequisites: Docker (with compose plugin)
2020git clone https://github.com/m-danya/planty
2121cd planty
2222cp .env.sample .env
23- echo "\nPLANTY_AUTH_SECRET=$(openssl rand -base64 32)" >> .env
23+ echo -e "\nPLANTY_AUTH_SECRET=$(openssl rand -base64 32)" >> .env
24+ # change other secrets in .env
2425
2526docker compose up -d
2627```
Original file line number Diff line number Diff line change 1+ "use client" ;
2+
13import { MainSidebarWrapper } from "@/components/left-panel/main-sidebar-wrapper" ;
4+ import { useAuthRedirect } from "@/hooks/use-auth-redirect" ;
25
36export default function RootLayout ( {
47 children,
58} : Readonly < {
69 children : React . ReactNode ;
710} > ) {
11+ useAuthRedirect ( ) ;
12+
813 return < MainSidebarWrapper > { children } </ MainSidebarWrapper > ;
914}
You can’t perform that action at this time.
0 commit comments