fix: preserve CMS external route prefix
This commit is contained in:
parent
1031335c5d
commit
864ae270fc
@ -11,6 +11,7 @@ export default buildConfig({
|
||||
collections: [Users, Products, Media],
|
||||
globals: [SiteSettings, HomeContent],
|
||||
secret: process.env.PAYLOAD_SECRET || "development-only-change-me",
|
||||
routes: { admin: "/cms/admin", api: "/cms/api" },
|
||||
db: postgresAdapter({ pool: { connectionString: process.env.DATABASE_URI || "" } }),
|
||||
typescript: { outputFile: "./src/payload-types.ts" },
|
||||
});
|
||||
|
||||
Loading…
Reference in New Issue
Block a user