fix: add placeholder to .env.example
This commit is contained in:
+10
-5
@@ -1,9 +1,14 @@
|
|||||||
|
# API Endpoint
|
||||||
VITE_API_URL=
|
VITE_API_URL=
|
||||||
|
|
||||||
CMS_SECRET=
|
# Payload CMS Secret Key (minimum 32 characters)
|
||||||
CMS_POSTGRES_URL=
|
CMS_SECRET=your-very-long-secret-key
|
||||||
|
|
||||||
CMS_STORAGE_ENDPOINT=
|
# PostgreSQL Connection String
|
||||||
CMS_STORAGE_ACCESS_KEY_ID=
|
CMS_POSTGRES_URL=postgres://user:password@host:port/database
|
||||||
CMS_STORAGE_SECRET_ACCESS_KEY=
|
|
||||||
|
# S3 Storage Configuration
|
||||||
|
CMS_STORAGE_ENDPOINT=https://your-s3-endpoint.com
|
||||||
|
CMS_STORAGE_ACCESS_KEY_ID=your-access-key-id
|
||||||
|
CMS_STORAGE_SECRET_ACCESS_KEY=your-secret-access-key
|
||||||
CMS_STORAGE_REGION=ap-southeast-1
|
CMS_STORAGE_REGION=ap-southeast-1
|
||||||
|
|||||||
@@ -10,9 +10,6 @@ const nextConfig = {
|
|||||||
warn: () => {},
|
warn: () => {},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
webpack(config) {
|
|
||||||
return config;
|
|
||||||
},
|
|
||||||
};
|
};
|
||||||
|
|
||||||
module.exports = composePlugins(withNx, withPayload)(nextConfig);
|
module.exports = composePlugins(withNx, withPayload)(nextConfig);
|
||||||
|
|||||||
@@ -40,7 +40,7 @@ export default buildConfig({
|
|||||||
CommunitiesSection,
|
CommunitiesSection,
|
||||||
LearningResourcesSection,
|
LearningResourcesSection,
|
||||||
TestimonialsSection,
|
TestimonialsSection,
|
||||||
CallToActionSection
|
CallToActionSection,
|
||||||
],
|
],
|
||||||
editor: lexicalEditor(),
|
editor: lexicalEditor(),
|
||||||
secret: process.env.CMS_SECRET || '',
|
secret: process.env.CMS_SECRET || '',
|
||||||
|
|||||||
Reference in New Issue
Block a user