mirror of
https://github.com/supabase/supabase.git
synced 2026-10-08 10:55:06 +03:00
* fix cms types and build --------- Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
12 lines
272 B
TypeScript
12 lines
272 B
TypeScript
import { postgresAdapter } from '@payloadcms/db-postgres'
|
|
import { buildConfig } from 'payload'
|
|
|
|
export default buildConfig({
|
|
secret: process.env.PAYLOAD_SECRET,
|
|
db: postgresAdapter({
|
|
pool: {
|
|
connectionString: process.env.DATABASE_URI || '',
|
|
},
|
|
}),
|
|
})
|