From 210c982e5707341d1c3f39ebab4ee73bd3075b43 Mon Sep 17 00:00:00 2001 From: Mackie Date: Fri, 22 May 2026 20:36:07 +0800 Subject: [PATCH] next.config edit --- .env.example | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.env.example b/.env.example index c9e9b47..235eb1a 100644 --- a/.env.example +++ b/.env.example @@ -1,13 +1,17 @@ # Database connection string -DATABASE_URL=mongodb://mongo:databasemultisite@portfolio-database-tkom3p:27017/?authSource=admin&directConnection=true +DATABASE_URL=mongodb://127.0.0.1/your-database-name + # Or use a PG connection string #DATABASE_URL=postgresql://127.0.0.1:5432/your-database-name + # Used to encrypt JWT tokens -PAYLOAD_SECRET=cbd291ac16406fe9ec82384e +PAYLOAD_SECRET=YOUR_SECRET_HERE + # Used to configure CORS, format links and more. No trailing slash -NEXT_PUBLIC_SERVER_URL=https://bymackie.com +NEXT_PUBLIC_SERVER_URL=http://localhost:3001 + # Secret used to authenticate cron jobs CRON_SECRET=YOUR_CRON_SECRET_HERE + # Used to validate preview requests PREVIEW_SECRET=YOUR_SECRET_HERE -# Added by Payload \ No newline at end of file