This commit is contained in:
@ -33,6 +33,7 @@ const filename = fileURLToPath(import.meta.url)
|
||||
const dirname = path.dirname(filename)
|
||||
|
||||
export default buildConfig({
|
||||
collections: [Users, Posts, Authors, Media, Pages],
|
||||
admin: {
|
||||
autoLogin: {
|
||||
email: 'dev@payloadcms.com',
|
||||
@ -41,7 +42,6 @@ export default buildConfig({
|
||||
},
|
||||
},
|
||||
editor: lexicalEditor(),
|
||||
collections: [Users, Posts, Authors, Media, Pages],
|
||||
secret: process.env.PAYLOAD_SECRET || '',
|
||||
typescript: {
|
||||
outputFile: path.resolve(dirname, 'types/payload-types.ts'),
|
||||
|
Reference in New Issue
Block a user