From bdbfc8c9af1805e82441a0cb67b0f353b1cbab59 Mon Sep 17 00:00:00 2001 From: Elliot DeNolf Date: Sun, 8 Oct 2023 22:26:40 -0400 Subject: [PATCH] docs: remove mongoURL mentions --- docs/authentication/using-middleware.mdx | 1 - docs/local-api/overview.mdx | 1 - 2 files changed, 2 deletions(-) diff --git a/docs/authentication/using-middleware.mdx b/docs/authentication/using-middleware.mdx index c4e7f35bee..f5269f94e1 100644 --- a/docs/authentication/using-middleware.mdx +++ b/docs/authentication/using-middleware.mdx @@ -31,7 +31,6 @@ const app = express() const start = async () => { await payload.init({ secret: 'PAYLOAD_SECRET_KEY', - mongoURL: 'mongodb://localhost/payload', express: app, }) diff --git a/docs/local-api/overview.mdx b/docs/local-api/overview.mdx index 21f3254d2a..258f627fa6 100644 --- a/docs/local-api/overview.mdx +++ b/docs/local-api/overview.mdx @@ -417,7 +417,6 @@ const { PAYLOAD_SECRET, MONGODB_URI } = process.env const doAction = async (): Promise => { await payload.init({ secret: PAYLOAD_SECRET, - mongoURL: MONGODB_URI, local: true, // Enables local mode, doesn't spin up a server or frontend })