chore: add comment about populating license key

This commit is contained in:
Elliot DeNolf
2022-03-04 16:23:29 -05:00
parent 1e30435525
commit b3f808644f
6 changed files with 30 additions and 6 deletions

View File

@@ -13,6 +13,10 @@ app.get('/', (_, res) => {
payload.init({
secret: process.env.PAYLOAD_SECRET,
mongoURL: process.env.MONGODB_URI,
// Only needed to deploy publicly. Get free Personal license at https://payloadcms.com.
// license: process.env.PAYLOAD_LICENSE_KEY,
express: app,
onInit: () => {
payload.logger.info(`Payload Admin URL: ${payload.getAdminURL()}`);

View File

@@ -13,6 +13,10 @@ app.get('/', (_, res) => {
payload.init({
secret: process.env.PAYLOAD_SECRET,
mongoURL: process.env.MONGODB_URI,
// Only needed to deploy publicly. Get free Personal license at https://payloadcms.com.
// license: process.env.PAYLOAD_LICENSE_KEY,
express: app,
onInit: () => {
payload.logger.info(`Payload Admin URL: ${payload.getAdminURL()}`);

View File

@@ -13,6 +13,10 @@ app.get('/', (_, res) => {
payload.init({
secret: process.env.PAYLOAD_SECRET,
mongoURL: process.env.MONGODB_URI,
// Only needed to deploy publicly. Get free Personal license at https://payloadcms.com.
// license: process.env.PAYLOAD_LICENSE_KEY,
express: app,
onInit: () => {
payload.logger.info(`Payload Admin URL: ${payload.getAdminURL()}`);

View File

@@ -13,11 +13,15 @@ app.get('/', (_, res) => {
payload.init({
secret: process.env.PAYLOAD_SECRET,
mongoURL: process.env.MONGODB_URI,
// Only needed to deploy publicly. Get free Personal license at https://payloadcms.com.
// license: process.env.PAYLOAD_LICENSE_KEY,
express: app,
onInit: () => {
payload.logger.info(`Payload Admin URL: ${payload.getAdminURL()}`);
payload.logger.info(`Payload Admin URL: ${payload.getAdminURL()}`)
},
});
})
// Add your own express routes here

View File

@@ -13,11 +13,15 @@ app.get('/', (_, res) => {
payload.init({
secret: process.env.PAYLOAD_SECRET,
mongoURL: process.env.MONGODB_URI,
// Only needed to deploy publicly. Get free Personal license at https://payloadcms.com.
// license: process.env.PAYLOAD_LICENSE_KEY,
express: app,
onInit: () => {
payload.logger.info(`Payload Admin URL: ${payload.getAdminURL()}`);
payload.logger.info(`Payload Admin URL: ${payload.getAdminURL()}`)
},
});
})
// Add your own express routes here

View File

@@ -13,11 +13,15 @@ app.get('/', (_, res) => {
payload.init({
secret: process.env.PAYLOAD_SECRET,
mongoURL: process.env.MONGODB_URI,
// Only needed to deploy publicly. Get free Personal license at https://payloadcms.com.
// license: process.env.PAYLOAD_LICENSE_KEY,
express: app,
onInit: () => {
payload.logger.info(`Payload Admin URL: ${payload.getAdminURL()}`);
payload.logger.info(`Payload Admin URL: ${payload.getAdminURL()}`)
},
});
})
// Add your own express routes here