Skip to content

Commit c010d51

Browse files
fix: browseByFolder route should be optional (#12527)
1 parent 293cdc1 commit c010d51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/payload/src/config/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -851,7 +851,7 @@ export type Config = {
851851
*
852852
* @default '/browse-by-folder'
853853
*/
854-
browseByFolder: `/${string}`
854+
browseByFolder?: `/${string}`
855855
/** The route for the create first user page.
856856
*
857857
* @default '/create-first-user'

0 commit comments

Comments
 (0)