Permanently redirect to /s/... for share links (#4067)
This commit is contained in:
@@ -117,6 +117,10 @@ export function searchPath(
|
||||
return `${route}${search}`;
|
||||
}
|
||||
|
||||
export function sharedDocumentPath(shareId: string, docPath?: string) {
|
||||
return docPath ? `/s/${shareId}${docPath}` : `/s/${shareId}`;
|
||||
}
|
||||
|
||||
export function notFoundUrl(): string {
|
||||
return "/404";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user