Fixes #10284. The `admin.disable` property is no longer supported as of v3. Instead, to opt-out of serving the Admin Panel, REST API, or GraphQL API, you must delete their corresponding directories within your Next.js app. For example, to opt-out of everything, delete the `/app/(payload)` directory entirely. Or to remove specifically the Admin Panel or API routes, delete the `/app/(payload)/admin` or `/app/(payload)/api` directories, respectively. Note: if you've modified the default paths for these routes via `admin.routes`, delete those directories instead.
16 KiB
16 KiB