Update to use payload for landing page
This commit is contained in:
@@ -4,10 +4,13 @@ import { buildConfig } from 'payload';
|
||||
import sharp from 'sharp';
|
||||
|
||||
import { env } from './env';
|
||||
import { Users } from './payload/collections/users';
|
||||
import { LandingPage } from './payload/globals/landing-page';
|
||||
|
||||
export default buildConfig({
|
||||
editor: lexicalEditor(),
|
||||
collections: [],
|
||||
collections: [Users],
|
||||
globals: [LandingPage],
|
||||
secret: env.PAYLOAD_SECRET ?? '',
|
||||
db: postgresAdapter({
|
||||
pool: {
|
||||
|
||||
Reference in New Issue
Block a user