fix: Link on 'Not Found' page for root share leads to custom domain landing
This commit is contained in:
@@ -5,7 +5,7 @@ import Document from "~/models/Document";
|
||||
import env from "~/env";
|
||||
|
||||
export function homePath(): string {
|
||||
return "/home";
|
||||
return env.ROOT_SHARE_ID ? "/" : "/home";
|
||||
}
|
||||
|
||||
export function draftsPath(): string {
|
||||
|
||||
Reference in New Issue
Block a user