Skip to content

Commit

Permalink
Update payload.custom.config.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
xHomu committed Dec 26, 2023
1 parent cdb893a commit cdf3ea2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/db/payload.custom.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ export default buildConfig({
db: mongooseAdapter({
url: `${process.env.MONGODB_URI}/${process.env.PAYLOAD_PUBLIC_SITE_SLUG}-prod-db`,
}),
cors: "*",
admin: {
bundler: viteBundler(),
//Ensure that the build directory is not emptied on build
Expand Down

0 comments on commit cdf3ea2

Please sign in to comment.