chore: updates example folder mongodb uri's to work with node 18

This commit is contained in:
Jarrod Flesch
2023-07-18 16:51:22 -04:00
parent 3ac910bf6d
commit a69c3ec476
8 changed files with 8 additions and 8 deletions

View File

@@ -1,4 +1,4 @@
MONGODB_URI=mongodb://localhost/payload-example-custom-server MONGODB_URI=mongodb://127.0.0.1/payload-example-custom-server
PAYLOAD_SECRET=PAYLOAD_CUSTOM_SERVER_EXAMPLE_SECRET_KEY PAYLOAD_SECRET=PAYLOAD_CUSTOM_SERVER_EXAMPLE_SECRET_KEY
PAYLOAD_PUBLIC_SERVER_URL=http://localhost:3000 PAYLOAD_PUBLIC_SERVER_URL=http://localhost:3000
NEXT_PUBLIC_SERVER_URL=http://localhost:3000 NEXT_PUBLIC_SERVER_URL=http://localhost:3000

View File

@@ -1,4 +1,4 @@
MONGODB_URI=mongodb://localhost/payload-example-email MONGODB_URI=mongodb://127.0.0.1/payload-example-email
PAYLOAD_SECRET= PAYLOAD_SECRET=
NODE_ENV=development NODE_ENV=development
PAYLOAD_PUBLIC_SERVER_URL=http://localhost:8000 PAYLOAD_PUBLIC_SERVER_URL=http://localhost:8000

View File

@@ -1,4 +1,4 @@
MONGODB_URI=mongodb://localhost/payload-example-form-builder MONGODB_URI=mongodb://127.0.0.1/payload-example-form-builder
PAYLOAD_SECRET=ENTER-STRING-HERE PAYLOAD_SECRET=ENTER-STRING-HERE
PAYLOAD_PUBLIC_SITE_URL=http://localhost:3000 PAYLOAD_PUBLIC_SITE_URL=http://localhost:3000
PAYLOAD_PUBLIC_SERVER_URL=http://localhost:8000 PAYLOAD_PUBLIC_SERVER_URL=http://localhost:8000

View File

@@ -1,4 +1,4 @@
MONGODB_URI=mongodb://localhost/payload-example-auth MONGODB_URI=mongodb://127.0.0.1/payload-example-auth
PAYLOAD_SECRET=PAYLOAD_AUTH_EXAMPLE_SECRET_KEY PAYLOAD_SECRET=PAYLOAD_AUTH_EXAMPLE_SECRET_KEY
PAYLOAD_PUBLIC_SERVER_URL=http://localhost:3000 PAYLOAD_PUBLIC_SERVER_URL=http://localhost:3000
PAYLOAD_SEED=true PAYLOAD_SEED=true

View File

@@ -1,4 +1,4 @@
MONGODB_URI=mongodb://localhost/payload-example-preview MONGODB_URI=mongodb://127.0.0.1/payload-example-preview
PAYLOAD_SECRET=ENTER-STRING-HERE PAYLOAD_SECRET=ENTER-STRING-HERE
PAYLOAD_PUBLIC_SERVER_URL=http://localhost:3000 PAYLOAD_PUBLIC_SERVER_URL=http://localhost:3000
PAYLOAD_PUBLIC_SITE_URL=http://localhost:3001 PAYLOAD_PUBLIC_SITE_URL=http://localhost:3001

View File

@@ -1,4 +1,4 @@
MONGODB_URI=mongodb://localhost/payload-example-redirects MONGODB_URI=mongodb://127.0.0.1/payload-example-redirects
PAYLOAD_SECRET=ENTER-STRING-HERE PAYLOAD_SECRET=ENTER-STRING-HERE
PAYLOAD_PUBLIC_SITE_URL=http://localhost:3000 PAYLOAD_PUBLIC_SITE_URL=http://localhost:3000
PAYLOAD_PUBLIC_SERVER_URL=http://localhost:8000 PAYLOAD_PUBLIC_SERVER_URL=http://localhost:8000

View File

@@ -1,3 +1,3 @@
MONGODB_URI=mongodb://localhost/payload-example-vitual-fields MONGODB_URI=mongodb://127.0.0.1/payload-example-vitual-fields
PAYLOAD_SECRET=ENTER-STRING-HERE PAYLOAD_SECRET=ENTER-STRING-HERE
PAYLOAD_PUBLIC_SERVER_URL=http://localhost:8000 PAYLOAD_PUBLIC_SERVER_URL=http://localhost:8000

View File

@@ -1,3 +1,3 @@
MONGODB_URI=mongodb://localhost/payload-example-whitelabel MONGODB_URI=mongodb://127.0.0.1/payload-example-whitelabel
PAYLOAD_SECRET=ENTER-STRING-HERE PAYLOAD_SECRET=ENTER-STRING-HERE
PAYLOAD_PUBLIC_SERVER_URL=http://localhost:8000 PAYLOAD_PUBLIC_SERVER_URL=http://localhost:8000