uri
This commit is contained in:
parent
f79327cd25
commit
34bf88a4a5
1 changed files with 1 additions and 1 deletions
|
|
@ -58,7 +58,7 @@ export default buildConfig({
|
||||||
// This config helps us configure global or default features that the other editors can inherit
|
// This config helps us configure global or default features that the other editors can inherit
|
||||||
editor: defaultLexical,
|
editor: defaultLexical,
|
||||||
db: mongooseAdapter({
|
db: mongooseAdapter({
|
||||||
url: process.env.DATABASE_URL || '',
|
url: process.env.DATABASE_URI || '',
|
||||||
}),
|
}),
|
||||||
collections: [Pages, Posts, Media, Categories, Users],
|
collections: [Pages, Posts, Media, Categories, Users],
|
||||||
cors: [getServerSideURL()].filter(Boolean),
|
cors: [getServerSideURL()].filter(Boolean),
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue