fix: use Payload default internal route paths
This commit is contained in:
parent
54b516ffee
commit
060feff597
@ -11,7 +11,6 @@ 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