chore: Add Plunk API key to entrypoint
This commit is contained in:
@@ -37,9 +37,9 @@ export default async function handler(
|
||||
const {email} = result.data;
|
||||
|
||||
// Get secret key from environment
|
||||
const secretKey = process.env.PLUNK_SECRET_KEY;
|
||||
const secretKey = process.env.PLUNK_API_KEY;
|
||||
if (!secretKey) {
|
||||
console.error('PLUNK_SECRET_KEY is not configured');
|
||||
console.error('PLUNK_API_KEY is not configured');
|
||||
return res.status(500).json({error: 'Service configuration error'});
|
||||
}
|
||||
|
||||
|
||||
@@ -182,7 +182,7 @@ module.exports = {
|
||||
DASHBOARD_URI: '${DASHBOARD_URI}',
|
||||
LANDING_URI: '${LANDING_URI}',
|
||||
WIKI_URI: '${WIKI_URI}',
|
||||
PLUNK_SECRET_KEY: '${PLUNK_SECRET_KEY:-}'
|
||||
PLUNK_API_KEY: '${PLUNK_API_KEY:-}'
|
||||
}
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user