mirror of
https://github.com/wassname/talk.git
synced 2026-06-30 13:30:47 +08:00
7 lines
273 B
JavaScript
7 lines
273 B
JavaScript
const apiKey = process.env.TALK_PERSPECTIVE_API_KEY;
|
|
if(!apiKey) {
|
|
throw new Error('Please set the TALK_PERSPECTIVE_API_KEY environment variable to use the toxic-comments plugin. Visit https://www.perspectiveapi.com/ to request API access.');
|
|
}
|
|
|
|
module.exports = apiKey;
|