docs: remove mongoURL mentions
This commit is contained in:
@@ -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,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user