This commit is contained in:
Mackie 2026-05-22 22:54:07 +08:00
parent f79327cd25
commit 34bf88a4a5

View file

@ -58,7 +58,7 @@ export default buildConfig({
// This config helps us configure global or default features that the other editors can inherit
editor: defaultLexical,
db: mongooseAdapter({
url: process.env.DATABASE_URL || '',
url: process.env.DATABASE_URI || '',
}),
collections: [Pages, Posts, Media, Categories, Users],
cors: [getServerSideURL()].filter(Boolean),