docs: remove mongoURL mentions

This commit is contained in:
Elliot DeNolf
2023-10-08 22:26:40 -04:00
parent 8c097ccaa7
commit bdbfc8c9af
2 changed files with 0 additions and 2 deletions

View File

@@ -31,7 +31,6 @@ const app = express()
const start = async () => { const start = async () => {
await payload.init({ await payload.init({
secret: 'PAYLOAD_SECRET_KEY', secret: 'PAYLOAD_SECRET_KEY',
mongoURL: 'mongodb://localhost/payload',
express: app, express: app,
}) })

View File

@@ -417,7 +417,6 @@ const { PAYLOAD_SECRET, MONGODB_URI } = process.env
const doAction = async (): Promise<void> => { const doAction = async (): Promise<void> => {
await payload.init({ await payload.init({
secret: PAYLOAD_SECRET, secret: PAYLOAD_SECRET,
mongoURL: MONGODB_URI,
local: true, // Enables local mode, doesn't spin up a server or frontend local: true, // Enables local mode, doesn't spin up a server or frontend
}) })