test: remove root:true from test config

This commit is contained in:
Elliot DeNolf
2024-03-21 11:49:35 -04:00
parent 9e4dd44a2e
commit 6b3325d0ba
2 changed files with 2 additions and 3 deletions

View File

@@ -251,10 +251,10 @@ export type Endpoint<U = User> = {
*/
path: string
/**
* @deprecated in 3.0
*
* Please add "root" routes under the /api folder in the Payload Project.
* https://nextjs.org/docs/app/api-reference/file-conventions/route
*
* @deprecated in 3.0
*/
root?: never
}

View File

@@ -80,7 +80,6 @@ export default buildConfigWithDefaults({
{
path: '/config',
method: 'get',
root: true,
handler: (req) => {
return Response.json(req.payload.config)
},