Skip to content

Commit a69c3ec

Browse files
committed
chore: updates example folder mongodb uri's to work with node 18
1 parent 3ac910b commit a69c3ec

File tree

8 files changed

+8
-8
lines changed

8 files changed

+8
-8
lines changed

examples/custom-server/.env.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
MONGODB_URI=mongodb://localhost/payload-example-custom-server
1+
MONGODB_URI=mongodb://127.0.0.1/payload-example-custom-server
22
PAYLOAD_SECRET=PAYLOAD_CUSTOM_SERVER_EXAMPLE_SECRET_KEY
33
PAYLOAD_PUBLIC_SERVER_URL=http://localhost:3000
44
NEXT_PUBLIC_SERVER_URL=http://localhost:3000

examples/email/.env.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
MONGODB_URI=mongodb://localhost/payload-example-email
1+
MONGODB_URI=mongodb://127.0.0.1/payload-example-email
22
PAYLOAD_SECRET=
33
NODE_ENV=development
44
PAYLOAD_PUBLIC_SERVER_URL=http://localhost:8000
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
MONGODB_URI=mongodb://localhost/payload-example-form-builder
1+
MONGODB_URI=mongodb://127.0.0.1/payload-example-form-builder
22
PAYLOAD_SECRET=ENTER-STRING-HERE
33
PAYLOAD_PUBLIC_SITE_URL=http://localhost:3000
44
PAYLOAD_PUBLIC_SERVER_URL=http://localhost:8000

examples/multi-tenant/.env.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
MONGODB_URI=mongodb://localhost/payload-example-auth
1+
MONGODB_URI=mongodb://127.0.0.1/payload-example-auth
22
PAYLOAD_SECRET=PAYLOAD_AUTH_EXAMPLE_SECRET_KEY
33
PAYLOAD_PUBLIC_SERVER_URL=http://localhost:3000
44
PAYLOAD_SEED=true

examples/preview/cms/.env.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
MONGODB_URI=mongodb://localhost/payload-example-preview
1+
MONGODB_URI=mongodb://127.0.0.1/payload-example-preview
22
PAYLOAD_SECRET=ENTER-STRING-HERE
33
PAYLOAD_PUBLIC_SERVER_URL=http://localhost:3000
44
PAYLOAD_PUBLIC_SITE_URL=http://localhost:3001
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
MONGODB_URI=mongodb://localhost/payload-example-redirects
1+
MONGODB_URI=mongodb://127.0.0.1/payload-example-redirects
22
PAYLOAD_SECRET=ENTER-STRING-HERE
33
PAYLOAD_PUBLIC_SITE_URL=http://localhost:3000
44
PAYLOAD_PUBLIC_SERVER_URL=http://localhost:8000
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
MONGODB_URI=mongodb://localhost/payload-example-vitual-fields
1+
MONGODB_URI=mongodb://127.0.0.1/payload-example-vitual-fields
22
PAYLOAD_SECRET=ENTER-STRING-HERE
33
PAYLOAD_PUBLIC_SERVER_URL=http://localhost:8000

examples/whitelabel/.env.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
MONGODB_URI=mongodb://localhost/payload-example-whitelabel
1+
MONGODB_URI=mongodb://127.0.0.1/payload-example-whitelabel
22
PAYLOAD_SECRET=ENTER-STRING-HERE
33
PAYLOAD_PUBLIC_SERVER_URL=http://localhost:8000

0 commit comments

Comments
 (0)